Uses of Class
com.starpoints.state.ThingState
-
Packages that use ThingState Package Description com.starpoints.game Contains the classes for the StarpointArena game.com.starpoints.game.figure Contains the figure subclasses, that implement the individual figure behaviours.com.starpoints.game.item Contains the item subclasses, that implement the individual item behaviours.com.starpoints.league Contains classes for the league game.com.starpoints.painter Contains 2D painters.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 ThingState in com.starpoints.game
Methods in com.starpoints.game that return ThingState Modifier and Type Method Description ThingStateFigure. createState(AnimationInfo animation)Creates a state object for this item.protected ThingStateFog. createState(AnimationInfo animation)Creates a state object for this item.ThingStateItem. createState(AnimationInfo animation)Creates a state object for this item.ThingStateItemPermanent. createState(AnimationInfo animation)Creates a state object for this item.ThingStatePlayerFigure. createState(AnimationInfo animation)Creates a state object for this item.protected abstract ThingStateThing. createState(AnimationInfo animation)protected ThingStateThing. retrieveState(ThingState state, AnimationInfo animation)Retrieves this things state in the state parameter and returns it.Methods in com.starpoints.game with parameters of type ThingState Modifier and Type Method Description protected voidThing. addStateProperties(ThingState state, AnimationInfo animation)Override in superclasses, to add properties necessary for thing painting.protected ThingStateThing. retrieveState(ThingState state, AnimationInfo animation)Retrieves this things state in the state parameter and returns it. -
Uses of ThingState in com.starpoints.game.figure
Methods in com.starpoints.game.figure with parameters of type ThingState Modifier and Type Method Description protected voidBigBoss. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for BigBoss painting.protected voidBigBossDuck. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for BigBossDuck painting.protected voidBlasterTank. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for Blastertank painting.protected voidChaosDuck. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for ChaosDuck painting.protected voidCleverComputerFigureMK2. addStateProperties(ThingState state, AnimationInfo animation)Adds debug properties necessary for thing painting.protected voidLaserTower. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for LaserTower painting.protected voidRocketeer. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for Rocketeer painting.protected voidSwampGhost. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for SwampGhost painting. -
Uses of ThingState in com.starpoints.game.item
Methods in com.starpoints.game.item with parameters of type ThingState Modifier and Type Method Description protected voidItemAsteroid. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for asteroid painting.protected voidItemBigMine. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for bigmine painting.protected voidItemBlasterGenerator. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for blaster generator painting.protected voidItemChrystalStone. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for chrystal stone painting.protected voidItemColorBucket. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for color bucket painting.protected voidItemDoubleShields. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for color bucket painting.protected voidItemDriller. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for driller painting.protected voidItemEnergyLoss. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for energy loss painting.protected voidItemMine. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for mine painting.protected voidItemMoney. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for rocket painting.protected voidItemPhantomPoints. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for warp points painting.protected voidItemRocket. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for rocket painting.protected voidItemRocketeer. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for energy loss painting.protected voidItemSatellite. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for satellite painting.protected voidItemSecretLevel. addStateProperties(ThingState state, AnimationInfo animation)Adds properties necessary for secretlevel painting. -
Uses of ThingState in com.starpoints.league
Methods in com.starpoints.league that return ThingState Modifier and Type Method Description ThingStateLeagueFigure. createState(AnimationInfo animation)Creates a state object for this league figure. -
Uses of ThingState in com.starpoints.painter
Methods in com.starpoints.painter with parameters of type ThingState Modifier and Type Method Description PainterThingPainterFactory. getPainterForThing(ThingState thingState)Gets a painter for the given Thing.voidPainter2DArena. paintThing(Graphics g, ThingState thingState, GameState state, int xCenter, int yCenter)Paints the thing on the screen.voidPainter2DArena. paintThingOverlay(Graphics g, ThingState thingState, GameState state, int xCenter, int yCenter)Paints the thing overlay on the screen. -
Uses of ThingState in com.starpoints.painter.arena2D
Methods in com.starpoints.painter.arena2D with parameters of type ThingState Modifier and Type Method Description intPainterItemRocket. calculateCurveY(ThingState t, ItemMove anim, PointState nextTarget, Direction current, Direction next, int repaintCounter)intPainterItemRocket. calculateRocketAnimationX(ThingState t, ItemMove anim, int repaintCounter, PointState nextTarget, Direction current, Direction next)intPainterItemRocket. calculateRocketAnimationY(ThingState t, ItemMove anim, int repaintCounter, PointState nextTarget, Direction current, Direction next)protected intPainterItemRocket. curveEndIndex(ThingState t)protected intPainterItemRocket. curveStartIndex(ThingState t)protected static voidPainterThing. Figure_drawText(java.lang.String text, Graphics g, ThingState f2, int xTop, int yTop, double factor)Draws the text for this figureprotected intPainterItemRocket. indexForLastStraightMove(ThingState t, ItemMove anim, int repaintCounter)Calculates the index based factor for the last straight move after a curve.voidPainterFigure. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the figure on the graphics.voidPainterFog. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the fog.voidPainterItem. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the item on the screen.voidPainterItemAsteroid. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the rocket.voidPainterItemBigMine. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the item.voidPainterItemBlackRain. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints a small red dot on bombs.voidPainterItemBomb. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints a small red dot on bombs.voidPainterItemChainExplosion. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the stun fx.voidPainterItemChrystalStone. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the stun fx.voidPainterItemDropRocket. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the stun fx.voidPainterItemMine. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints a small red dot on active mines.voidPainterItemPhantomPoints. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the stun fx.voidPainterItemPointLoss. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the point loss item.voidPainterItemPoints. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the item.voidPainterItemRocket. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the rocket.voidPainterItemRocketeer. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the rocketeer.voidPainterItemSatellite. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the item.voidPainterItemSecretLevel. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the item.voidPainterItemWarpPoints. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints this item.voidPainterLeagueFigure. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the figure.voidPainterPlayerFigure. paint(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the figure.abstract voidPainterThing. paint(Graphics g, ThingState thingState, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the thing on the screen.voidPainterItemDriller. paintDrilling(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paint the aim effect.voidPainterBigBoss. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.voidPainterBigBossDuck. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.voidPainterBlasterTank. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.voidPainterChaosDuck. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.voidPainterFigure. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paint the figure overlay on the graphics.voidPainterFog. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the fog overlay.voidPainterItem. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Paints nothing.voidPainterLaserTower. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.voidPainterSwampGhost. paintOverlay(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int repaintCounter)Repaint the figure on the graphics.abstract voidPainterThing. paintOverlay(Graphics g, ThingState thingState, GameState state, int xCenter, int yCenter, int repaintCounter)Paints the overlay for the thing on the screen.protected voidPainterItem. performStunEffect(Graphics g, ThingState t, GameState state, int xCenter, int yCenter, int color, double factor)Draws the stun effect scaled.protected doublePainterItemRocket. straightMoveFactor(ThingState t, int xSource, int xTarget)Calculates the movement per animation cycle. -
Uses of ThingState in com.starpoints.state
Subclasses of ThingState in com.starpoints.state Modifier and Type Class Description classFigureStateclassFogStateclassItemStateclassPermanentItemStateMethods in com.starpoints.state that return ThingState Modifier and Type Method Description ThingStatePointState. getOccupant()Methods in com.starpoints.state with parameters of type ThingState Modifier and Type Method Description voidPointState. setOccupant(ThingState occupant)
-