Drag[en]gine Script Module DragonScript Script API  1.0
ADLink Class Reference

Definition of an animator link. More...

Inheritance diagram for ADLink:

Public Member Functions

void addPoint (float x, float y)
 Add point. More...
 
void addToAnimator (Animator animator)
 Add link to animator using the stored definition. More...
 
void debug (Console console, int index)
 
ADController getController ()
 Controller or null if not set. More...
 
int getIndex ()
 Index of link in animator. More...
 
Vector2 getPointAt (int position)
 Point at position. More...
 
int getPointCount ()
 Number of points. More...
 
int getRepeat ()
 Repeat count along X axis. More...
 
ADLink new ()
 Create link definition. More...
 
void setController (ADController controller)
 Set controller or null if not set. More...
 
void setRepeat (int repeat)
 Set repeat along X axis. More...
 

Detailed Description

Definition of an animator link.

Once defined a link can be added to an animator using the stored definition.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ addPoint()

void addPoint ( float  x,
float  y 
)

Add point.

§ addToAnimator()

void addToAnimator ( Animator  animator)

Add link to animator using the stored definition.

§ debug()

void debug ( Console  console,
int  index 
)

§ getController()

ADController getController ( )

Controller or null if not set.

§ getIndex()

int getIndex ( )

Index of link in animator.

§ getPointAt()

Vector2 getPointAt ( int  position)

Point at position.

Exceptions
deeOutOfBoundaryposition is less than 0 or greater than or equal to getPointCount().

§ getPointCount()

int getPointCount ( )

Number of points.

§ getRepeat()

int getRepeat ( )

Repeat count along X axis.

§ new()

ADLink new ( )

Create link definition.

§ setController()

void setController ( ADController  controller)

Set controller or null if not set.

§ setRepeat()

void setRepeat ( int  repeat)

Set repeat along X axis.


The documentation for this class was generated from the following file: