Uses of Class
com.starpoints.state.ItemMove
-
Packages that use ItemMove Package Description com.starpoints.painter.arena2D Contains special 2D painters for things.com.starpoints.state Contains state classes for UI updates, replay and best move storage. -
-
Uses of ItemMove in com.starpoints.painter.arena2D
Methods in com.starpoints.painter.arena2D with parameters of type ItemMove Modifier and Type Method Description protected int
PainterItemAsteroid. animationIndex(ItemMove anim, int repaintCounter)
Calculates the animation index based on rocket speed and frame rate.protected int
PainterItemRocket. animationIndex(ItemMove anim, int repaintCounter)
Calculates the animation index based on rocket speed and frame rate.int
PainterItemRocket. calculateCurveY(ThingState t, ItemMove anim, PointState nextTarget, Direction current, Direction next, int repaintCounter)
int
PainterItemRocket. calculateRocketAnimationX(ThingState t, ItemMove anim, int repaintCounter, PointState nextTarget, Direction current, Direction next)
int
PainterItemRocket. calculateRocketAnimationY(ThingState t, ItemMove anim, int repaintCounter, PointState nextTarget, Direction current, Direction next)
java.lang.String
PainterItemRocket. curveImageName(ItemState i, ItemMove anim, Direction current, Direction next, int repaintCounter)
Gets the curve image name.protected java.lang.String
PainterItemRocket. getImageName(ItemState i, ItemMove anim, Direction current, Direction next, int repaintCounter)
PointState
PainterItemRocket. getTargetPoint(ItemMove anim, GameState state)
protected int
PainterItemRocket. indexForLastStraightMove(ThingState t, ItemMove anim, int repaintCounter)
Calculates the index based factor for the last straight move after a curve. -
Uses of ItemMove in com.starpoints.state
Methods in com.starpoints.state that return ItemMove Modifier and Type Method Description ItemMove
GameState. getAdditionalItemMove(ItemState item)
Gets an additional item move.ItemMove
ItemState. getItemMove()
Methods in com.starpoints.state with parameters of type ItemMove Modifier and Type Method Description void
GameState. addAdditionalItemMove(ItemState item, ItemMove additionalItemMove)
Adds an additional item move (mainly for rockets that are launched directly into an enemy).void
ItemState. setItemMove(ItemMove itemMove)
-