Blaze Brigade  Rev0
Static Public Member Functions | List of all members
View.Animation Class Reference

Static Public Member Functions

static void attackAnimation (Direction direction, Unit unit)
 
static void animateUnitPosition (Graph graph, Unit unit, Node node)
 
static void animate (Direction direction, Unit unit)
 

Member Function Documentation

§ animate()

static void View.Animation.animate ( Direction  direction,
Unit  unit 
)
static

animate sprite walking the direction specified

Parameters
directionThe direction the unit is moving in

§ animateUnitPosition()

static void View.Animation.animateUnitPosition ( Graph  graph,
Unit  unit,
Node  node 
)
static

Animates unit movement.

Parameters
graphGraph of the map.
unitUnit to be animated.
nodeNode to move to.

§ attackAnimation()

static void View.Animation.attackAnimation ( Direction  direction,
Unit  unit 
)
static

Animates attack of the specified unit.

Parameters
directionThe direction of the attack.
unitUnit to be animated.

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