Uses of Class
com.starpoints.animation.AnimationInfo
-
Packages that use AnimationInfo Package Description com.starpoints.animation Contains classes for game state changes that are collected during one game update cycle.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.fog Contains the fog subclasses, that implement the individual fog behaviours.com.starpoints.game.item Contains the item subclasses, that implement the individual item behaviours.com.starpoints.game.listener Contains listeners interfaces for different events during the game.com.starpoints.league Contains classes for the league game. -
-
Uses of AnimationInfo in com.starpoints.animation
Subclasses of AnimationInfo in com.starpoints.animation Modifier and Type Class Description class
EmptyAnimationInfo
Empty AnimationInfo dummy for off-game Thing methodcalls.Fields in com.starpoints.animation declared as AnimationInfo Modifier and Type Field Description static AnimationInfo
AnimationInfo. EMPTY
Empty Animaton singleton.Methods in com.starpoints.animation that return AnimationInfo Modifier and Type Method Description AnimationInfo
AnimationInfo. getCopyForNextAnimation(int newIndex)
Gets a copy for the next AnimationInfo. -
Uses of AnimationInfo in com.starpoints.game
Fields in com.starpoints.game declared as AnimationInfo Modifier and Type Field Description protected AnimationInfo
UpdateInfo. animationUpdate
The level.protected AnimationInfo
Game. gameAnimation
The current game animation.Methods in com.starpoints.game that return AnimationInfo Modifier and Type Method Description AnimationInfo
FlashEffects. createFadeInAnimation(Field flashNewField, int flashCount)
Creates the animation during field fade in effect.AnimationInfo
FlashEffects. createFadeOutAnimation(Field flashOldField, int flashCount)
Creates the animation during field fade out effect.AnimationInfo
Game. getAnimationInfo()
Gets the current AnimationInfo.AnimationInfo
GameRoutine. getAnimationInfo()
Gets the AnimationInfo, storing all animation events during gameplay.AnimationInfo
UpdateInfo. getAnimationInfo()
Gets the level.Methods in com.starpoints.game with parameters of type AnimationInfo Modifier and Type Method Description void
Figure. addEnergy(int newEnergy, AnimationInfo animation)
Adds the given amount to this things energy level.void
Thing. addEnergy(int newEnergy, AnimationInfo animation)
Adds the given amount to this things energy level.int
Figure. addHeat(int heat, boolean internal, Thing source, AnimationInfo animation)
Adds the given amount to this things heat level.void
Figure. addInitialEnergy(int plus, AnimationInfo animation)
Adds the given amount to this figures initial energy.void
Figure. addMaxEnergy(int plus, AnimationInfo animation)
Adds the given amount to this things energy maximum.void
Figure. addPenalty(int penalty, AnimationInfo animation)
Removes the given number of points from the current point count.boolean
Figure. addPermanentItem(ItemPermanent i, AnimationInfo animation)
Adds an item to the permanent items list, as long as the number of items is smaller then the slot count.void
Figure. addPoints(int pointBonus, AnimationInfo animation)
Adds the given number of points to the current point count.void
Figure. addSlots(int newSlots, AnimationInfo animation)
Adds a number of slots to the slots for permanent items.protected void
Thing. addStateProperties(ThingState state, AnimationInfo animation)
Override in superclasses, to add properties necessary for thing painting.boolean
Figure. beforeMove(Figure f, Point oldp, Point newp, AnimationInfo animation)
Called, before the game handles this figures move.protected boolean
ItemPermanent. beforePickup(Figure picker, AnimationInfo animation)
Called befor picking up a permanent item.boolean
Item. bePickedUp(Figure picker, AnimationInfo animation)
This method is called, when the item is picked up by a figure.void
Figure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Performs the effect when this figure is rammed by the rammer or rams him.boolean
ItemRammable. beRammed(Figure rammer, AnimationInfo animation)
Called, if the item is rammed by a figure.boolean
Item. beUsed(Figure user, AnimationInfo animation)
This method is called when the item is used by a figure.void
Item. bombPlaced(ItemBigMine b, AnimationInfo animation)
Method that is called when a bigmine is placed on the field.void
Effects. colorFields(Field f, Point p, int radius, int newcolor, Thing source, boolean includeCenter, AnimationInfo animation)
Colors the fields in a best possible circle around the Point p in the given color.void
Effects. colorFields(Field f, Point p, int radius, int newcolor, Thing source, AnimationInfo animation)
Colors the fields in a best possible circle around the Point p in the given color.void
Field. colorPoints(Point center, int radius, int newcolor, Thing source, AnimationInfo animation)
Colors the points on the field in a best possible circle around the center point in the given color.void
Effects. crackleGlassPoint(Point p, Thing occupant, AnimationInfo animation)
Makes the glass crackle.FieldState
Field. createState(java.util.Map<java.lang.Integer,FigureState> figs, AnimationInfo animation)
ThingState
Figure. createState(AnimationInfo animation)
Creates a state object for this item.protected ThingState
Fog. createState(AnimationInfo animation)
Creates a state object for this item.ThingState
Item. createState(AnimationInfo animation)
Creates a state object for this item.ThingState
ItemPermanent. createState(AnimationInfo animation)
Creates a state object for this item.LevelState
Level. createState(AnimationInfo animation)
Creates a GameState object representing the current state of the game.ThingState
PlayerFigure. createState(AnimationInfo animation)
Creates a state object for this item.PointState
Point. createState(java.util.Map<java.lang.Integer,FigureState> figs, AnimationInfo animation)
Creates a state object for this point.protected abstract ThingState
Thing. createState(AnimationInfo animation)
void
Figure. die(Thing source, DieReason reason, AnimationInfo animation)
Sets the status of the thing to exploding (if it is not invulnerabe).void
Item. die(Thing source, DieReason reason, AnimationInfo animation)
Calls the onBeforeDie()-method of subclasses.void
ItemPermanent. die(Thing source, DieReason reason, AnimationInfo animation)
Removes the item as listener.void
Thing. die(Thing source, DieReason reason, AnimationInfo animation)
Sets the status of the thing to exploding (if it is not invulnerabe).protected void
ComputerFigure. doSpecialUpdate(AnimationInfo animation)
Special updates.protected void
Figure. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
Item. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round in overridden classes.protected void
ItemPermanent. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round in overridden classes.void
PlayerFigure. doSpecialUpdate(AnimationInfo animation)
Special updates.boolean
Figure. entersColor(int c, AnimationInfo animation)
Called to check, if the figure is affected by a color when entering a point.boolean
Item. entersColor(Figure f, int c, AnimationInfo animation)
Called, if the figure enters a point.boolean
Thing. entersColor(int c, AnimationInfo animation)
Called, if the thing occupies a point with the given color.boolean
BonusManager. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)
boolean
Item. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)
Empty figure listener method.protected boolean
Figure. fireColorEnterEvent(int c, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected boolean
Figure. fireColorStayEvent(int c, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected boolean
Figure. fireDieEvent(Thing source, DieReason reason, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected int
Figure. fireEnergyChangeEvent(int change, AnimationInfo animation)
Returns a modified energy change.protected int
Figure. fireEnergyLossEvent(int change, DieReason reason, AnimationInfo animation)
Returns a modified energy loss.protected boolean
Figure. fireGainPermanentItemEvent(Item it, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected int
Figure. fireHeatChangeEvent(int change, boolean internal, AnimationInfo animation)
Returns a modified heat.protected int
Figure. fireHoverEvent(int length, AnimationInfo animation)
Returns a modified hover length.protected void
Figure. fireKillsEnemy(Figure enemy, DieReason reason, AnimationInfo animation)
Fires the enemyKilled eventprotected boolean
Figure. fireLoseItemEvent(Item it, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected boolean
Figure. fireLosePermanentItemEvent(Item it, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected void
Figure. fireLostPermanentItemEvent(Item it, AnimationInfo animation)
Fires event after permanent item is finally removed from inventory.protected boolean
Figure. fireMoveEvent(Point p, Point newP, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected boolean
Figure. firePickesUpBombEvent(Item bomb, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected boolean
Figure. firePickesUpExplosiveEvent(Item it, AnimationInfo animation)
Fires an event indicating that the figure is picking up something exploding.protected boolean
Figure. firePickesUpItemEvent(Item it, AnimationInfo animation)
Fires an event indicating that the figure is picking up something.protected int
Figure. firePointsChangeEvent(int change, AnimationInfo animation)
Returns a modified bonus points.protected int
Figure. fireRamEvent(Figure rammer, int energyLoss, AnimationInfo animation)
Returns the modified ram damage.protected int
Figure. fireSlotsChangeEvent(int change, AnimationInfo animation)
Returns a modified slot count.protected int
Figure. fireStunEvent(int rounds, AnimationInfo animation)
Fires Stun event to listeners and adds the changes by listeners.protected boolean
Figure. fireUseItemEvent(Item it, AnimationInfo animation)
Returns true, if NO listener cancels the actionprotected boolean
Figure. fireVisibilityChangesEvent(boolean visible, AnimationInfo animation)
Returns true, if NO listener cancels the action.int
Item. gainsEnergy(Figure f, int energyChange, AnimationInfo animation)
Empty figure listener method.boolean
BonusManager. gainsPermanentItem(Figure figure, Item it, AnimationInfo animation)
boolean
Item. gainsPermanentItem(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.int
BonusManager. gainsSlots(Figure f, int slots, AnimationInfo animation)
int
Item. gainsSlots(Figure f, int slots, AnimationInfo animation)
Empty figure listener method.java.lang.String
ItemPermanent. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.protected int
Fog. getImageIndex(AnimationInfo animation)
Gets the fog image index.java.lang.String
Figure. getImageName(AnimationInfo animation)
Gets the image name for this figure.abstract java.lang.String
Fog. getImageName(AnimationInfo animation)
Gets an image name for the fog.java.lang.String
Thing. getImageName(AnimationInfo animation)
Returns image name relative to path /pics, without suffix.protected java.lang.Object
Thing. getStateObject(java.lang.Object val, AnimationInfo animation)
Might be used to retrieve a State object for a given obejct.void
GameRoutine. handleHittingItems(Item i, Point oldp, Point newp, Thing rammer, AnimationInfo animation)
Handles items hitting each other.int
Item. heatChanges(Figure f, boolean internal, int heat, AnimationInfo animation)
Empty figure listener method if the heat of a figure changes.void
Figure. hover(int height, int length, AnimationInfo animation)
Lets this figure hover for n rounds at the given height.int
Item. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Empty figure listener method.int
Item. isStunned(Figure f, int rounds, AnimationInfo animation)
Empty figure listener method.void
BonusManager. killedEnemy(Figure f, Figure enemy, DieReason reason, AnimationInfo animation)
void
Item. killedEnemy(Figure f, Figure enemy, DieReason reason, AnimationInfo animation)
Empty figure listener method.void
Figure. loseItem(AnimationInfo animation)
Lets the figure lose the current item.void
Figure. losePermanentItem(AnimationInfo animation)
Removes the last permanent item from the figures list, if the figure has one.void
Figure. losePermanentItem(Item i, AnimationInfo animation)
Removes the given permanent item from the figures list, if the figure owns it.void
Figure. losePermanentItemInternal(Item i, java.lang.String sound, AnimationInfo animation)
Removes the given permanent item from the figures list, if the figure owns it, and plays the sound file.int
Item. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)
Called, if the figure loses energy.boolean
BonusManager. losesItem(Figure f, Item i, AnimationInfo animation)
boolean
Item. losesItem(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.boolean
BonusManager. losesPermanentItem(Figure f, Item i, AnimationInfo animation)
boolean
Item. losesPermanentItem(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.void
BonusManager. lostPermanentItem(Figure f, Item i, AnimationInfo animation)
void
Item. lostPermanentItem(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.void
Point. occupy(Thing newOccupant, boolean performEnterEffect, AnimationInfo animation)
Occupies this point with the thing newOccupant performs the point enter effect.protected void
ItemPermanent. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Should register this item as listener for events when used.protected void
Figure. onAfterDeath(Point p, AnimationInfo animation)
Called after the figure died and was removed from the field.protected boolean
Figure. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)
Called before the figure dies (after event handling in FigureKillListeners).protected void
Item. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)
Called, before the item dies.protected boolean
PlayerFigure. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)
Called before the figure dies (after event handling in FigureKillListeners).protected int
Figure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Called before energy is removed from figure.protected int
PlayerFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Called before energy is removed from figure.boolean
Item. onBeHitByItem(Thing rammer, AnimationInfo animation)
Method called if another item moves to this items point (e.g. rockets).protected void
ItemPermanent. onBeLost(Figure oldOwner, AnimationInfo animation)
Should be overridden in subclasses to unregister figure listeners added in the registerListeners-method.protected boolean
Item. onBePickedUp(Figure picker, AnimationInfo animation)
Should be overridden in subclasses to implement the pick up behaviour.boolean
ItemPermanent. onBePickedUp(Figure picker, AnimationInfo animation)
This method is called, when the item is picked up by a figure.protected boolean
Item. onBeUsed(Figure user, AnimationInfo animation)
Should be overridden in subclasses for implementing the behaviour when being used.protected boolean
ItemPermanent. onBeUsed(Figure user, AnimationInfo animation)
If the user user this permanent item, it is added to the permanent item list of the user.void
Item. onDrop(Figure oldOwner, AnimationInfo animation)
Called if the item is lost.protected void
ItemPermanent. onDropPermanent(Figure oldOwner, AnimationInfo animation)
Called if the item is lost.void
Figure. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the figure killed an enemy.protected void
Fog. onEnemyKilled(Figure figure, int roundCount, DieReason reason, AnimationInfo animation)
Called, if something is killed by the fog.void
Item. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
Level. onEnemyKilled(Figure killer, Figure enemy, AnimationInfo animation)
Called by figure, if it killed an enemy, checks for dontKill setting.protected void
Thing. onEnemyKilled(Figure figure, int roundCount, DieReason reason, AnimationInfo animation)
Called, if a figure was destroyed by this thing.protected int
Figure. onExplode(int power, Thing source, AnimationInfo animation)
Performed, when a thing stands in an explosion.protected int
Thing. onExplode(int min, Thing source, AnimationInfo animation)
Called, if energy loss with reason explode occurs.boolean
Item. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.void
Figure. onRoundBegin(AnimationInfo animation)
This method is called at the beginning of each round.protected void
Effects. performBlackEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a black point.protected void
Effects. performBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a blue point.void
Effects. performBrownStayEffect(Point p, Thing occupant, AnimationInfo animation)
Lets a figure sink.protected void
Effects. performCyanEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a cyan point.protected void
Effects. performDarkBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a dark blue point.protected void
Effects. performDarkGrayEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a dark gray point.protected abstract void
Fog. performEnterEffect(Thing t, AnimationInfo animation)
Called, if a thing enters (or is placed on) the fog.protected void
Item. performFieldEffect(AnimationInfo animation)
Called each round if the item lies on the field.void
Effects. performGlassStayEffect(Point p, Thing occupant, AnimationInfo animation)
Makes the glass point splinter.protected void
Effects. performGrayEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a gray point.protected abstract void
Fog. performLeaveEffect(Thing t, AnimationInfo animation)
Called, if a thing leaves the fog.protected void
Effects. performLightBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a light blue point.protected void
Effects. performMagentaEnterEffect(Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a magenta point.void
ItemPermanent. performPermanentEffect(Figure owner, AnimationInfo animation)
Performs the permanent effect of the item, if it can be carried wround permanently.protected void
Effects. performPinkEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a pink point.protected void
Effects. performPointEnterEffect(Field f, Point p, AnimationInfo animation)
Performs the effects when a figure or an item enters a field (if fx are on).void
Effects. performPointStayEffect(Field f, Point p, AnimationInfo animation)
Performs the effect when a figure stays on a point.protected void
Effects. performRedEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a red point.protected abstract void
Fog. performStayEffect(Thing t, AnimationInfo animation)
Called, if a thing stays in the fog.protected void
Effects. performVeryDarkBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a very dark blue point.protected void
Effects. performWhiteEnterEffect(Field f, Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a white point.protected void
Effects. performYellowEnterEffect(Point p, Thing occupant, AnimationInfo animation)
Performs the effect if a figure enters a yellow point.boolean
BonusManager. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)
boolean
Item. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)
Empty figure listener method.boolean
BonusManager. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)
boolean
Item. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.boolean
BonusManager. pickesUpItem(Figure f, Item i, AnimationInfo animation)
boolean
Item. pickesUpItem(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.int
Item. pointsChange(Figure f, int pointChange, AnimationInfo animation)
Empty figure listener method.void
Figure. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes the given amount from this things energy level (if it is not invulnerable).void
Thing. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes the given amount from this things energy level (if it is not invulnerable).void
Figure. removePoints(int pointLoss, AnimationInfo animation)
Subtracts the points from the figures current point count.protected ItemState
Item. retrieveState(ItemState state, AnimationInfo animation)
Retrieves this things state.protected ThingState
Thing. retrieveState(ThingState state, AnimationInfo animation)
Retrieves this things state in the state parameter and returns it.void
Item. rocketStarted(ItemRocket r, AnimationInfo animation)
Method that is called when a rocket is started on the field.void
Point. setColor(int newColor, Thing source, AnimationInfo animation)
Sets the new color of the point.void
ItemPermanent. setDuration(int duration, AnimationInfo animation)
Sets the duration for this item.void
Figure. setInvisible(int rounds, AnimationInfo animation)
Sets the figure invisible for the given number of rounds.void
Figure. setItem(Item i, AnimationInfo animation)
Sets the item for this figure.void
Figure. setVisible(AnimationInfo animation)
Returns, if the figure is visible.void
Figure. sink(Thing source, AnimationInfo animation)
Makes the figure sink one level.void
Effects. startBlackRain(Figure source, AnimationInfo animation)
Starts the black rain effect.int
Item. startsHovering(Figure f, int rounds, AnimationInfo animation)
Empty figure listener method.boolean
Figure. staysOnColor(int c, AnimationInfo animation)
Called to check, if the figure is affected by a color when staying on a point.boolean
Item. staysOnColor(Figure f, int c, AnimationInfo animation)
Called, if the figure stays on a point.boolean
Thing. staysOnColor(int c, AnimationInfo animation)
Called, if the thing stays on a point with the given color.void
Figure. stun(int rounds, AnimationInfo animation)
Stuns this figure for the given number of rounds (with additive effect).boolean
Figure. takeItem(Item item, AnimationInfo animation)
This method is called when the figure picks up an item, e.g. when moving to a point where an item is placed.void
Effects. updateEffects(AnimationInfo animation)
Updates the effects once every round.protected void
Thing. updateEnergy(AnimationInfo animation)
Updates the figures energy depending on the energy modifiers of the round.protected void
Figure. updateExplodingStatus(AnimationInfo animation)
Handles the things status during update phase of the round when thing is exploding.protected void
Fog. updateExplodingStatus(AnimationInfo animation)
Handles the fogs status during update phase of the round when thing is exploding.protected void
Item. updateExplodingStatus(AnimationInfo animation)
Handles the items status during update phase of the round when thing is exploding.protected abstract void
Thing. updateExplodingStatus(AnimationInfo animation)
Handles the things status during update phase of the round when thing is exploding.void
Field. updateField(AnimationInfo animation)
Updates the field by calling the update method for every point and the updateEnergy-method for all point occupants afterwards.void
Level. updateLevel(AnimationInfo animation)
Updates the field by calling the update method for the field, and increases the round counter.protected void
Point. updateOccupant(AnimationInfo animation)
Updates the points occupant.protected void
Point. updatePoint(AnimationInfo animation)
Update routine which is called once after each round in a game. - It fires OccupantEvents if a thing stays on a field or left it this round. - If this point is currently exploding, the explosion pointer is increased, and the status set back to normal, if the explosion length is reached, otherwise any opponent is hit with the explosion power.protected void
Figure. updateThing(AnimationInfo animation)
This method is called after each move.protected void
Item. updateThing(AnimationInfo animation)
Updates the item after each round.protected void
Thing. updateThing(AnimationInfo animation)
Updates this thing after each round.void
Figure. useItem(AnimationInfo animation)
Lets the figure use the current item.boolean
BonusManager. usesItem(Figure f, Item i, AnimationInfo animation)
boolean
Item. usesItem(Figure f, Item i, AnimationInfo animation)
Empty figure listener method.void
ItemPermanent. useUp(AnimationInfo animation)
Uses this item up by removing the energy factor from the items energy.boolean
Item. visibilityChanges(Figure f, boolean visibility, AnimationInfo animation)
Empty figure listener method.Constructors in com.starpoints.game with parameters of type AnimationInfo Constructor Description UpdateInfo(Level levelUpdate, AbstractLevelInfo levelInfo, Field fieldUpdate, SoundFxUpdate soundUpdate, EffectsInfo effectsUpdate, AnimationInfo animation, int roundCount, java.util.List<Figure> figures, int levelCount, int modeCount, boolean isTutorial, boolean isShowingFlashAnimation, int flashAnimationIndex, GameMode gameState, java.lang.String message, int messageColor, int playerCount, Figure lastWinner, boolean isShowingFigureVisisbility, boolean isFlashing, boolean isGameFinished, Shop shop)
Creates a new UpdateInfo. -
Uses of AnimationInfo in com.starpoints.game.figure
Methods in com.starpoints.game.figure with parameters of type AnimationInfo Modifier and Type Method Description void
ChaosDuck. addPenalty(int penalty, AnimationInfo animation)
Does nothing - ChaosDuck does not get penalties (for killing JungleTrees especially).protected void
BigBoss. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for BigBoss painting.protected void
BigBossDuck. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for BigBossDuck painting.protected void
BlasterTank. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for Blastertank painting.protected void
ChaosDuck. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for ChaosDuck painting.protected void
CleverComputerFigureMK2. addStateProperties(ThingState state, AnimationInfo animation)
Adds debug properties necessary for thing painting.protected void
LaserTower. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for LaserTower painting.protected void
Rocketeer. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for Rocketeer painting.protected void
SwampGhost. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for SwampGhost painting.void
BlueChrystalFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Performs the effect when this figure is rammed by the rammer or rams him.void
ChrystalMonster. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Performs the effect when this figure is rammed by the rammer or rams him.void
RedChrystalFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Performs the effect when this figure is rammed by the rammer or rams him.void
SantaClaus. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Called, if Santa Claus is rammed.void
TheRat. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Performs the effect when this figure is rammed by the rammer or rams him.void
YellowChrystalFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)
Performs the effect when this figure is rammed by the rammer or rams him.void
CleverComputerFigure. bombPlaced(ItemBigMine b, AnimationInfo animation)
Method that is called when a bigmine is placed on the field.void
CleverComputerFigureMK2. bombPlaced(ItemBigMine b, AnimationInfo animation)
Method that is called when a bigmine is placed on the field.protected ItemRocket
BigBossDrone. createRocket(AnimationInfo animation)
Creates a rocketprotected ItemRocket
Rocketeer. createRocket(AnimationInfo animation)
Creates a rocket depending on this rocketeers itemNr.protected void
BigBoss. doSpecialUpdate(AnimationInfo animation)
Updates after each round.protected void
BigBossDrone. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
BigBossDuck. doSpecialUpdate(AnimationInfo animation)
Updates after each round.protected void
BlasterTank. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
BlueChrystalFigure. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
BlueCrawler. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
ChaosDuck. doSpecialUpdate(AnimationInfo animation)
Special updates.protected void
ChrystalMonster. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
CleverComputerFigure. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
CleverComputerFigureMK2. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
FlameBall. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
LaserTower. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
MrBlack. doSpecialUpdate(AnimationInfo animation)
Sets the point MrBlack is on to color black.protected void
Rocketeer. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
SantaClaus. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
SuperTank. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
SuperTankMK2. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
SwampGhost. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
Tank. doSpecialUpdate(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.java.lang.String
BigBossDrone. getImageName(AnimationInfo animation)
Gets the image name for this figure.java.lang.String
BigBossDuck. getImageName(AnimationInfo animation)
Gets the image name for this figure.java.lang.String
SwampGhost. getImageName(AnimationInfo animation)
Returns image name dependent on current game animation index for animation.protected void
BigBoss. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after the figure dies and its point is unoccupied.protected void
BigBossDuck. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after a figure dies and its point is unoccupied.protected void
BlueChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after a figure dies and its point is unoccupied.protected void
ChrystalMonster. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after a figure dies and its point is unoccupied.protected void
GreenChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after a figure dies and its point is unoccupied.protected void
RedChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after a figure dies and its point is unoccupied.protected void
YellowChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)
Called, directly after a figure dies and its point is unoccupied.protected boolean
BigBossDuck. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)
Called before the figure dies (after event handling in FigureKillListeners).protected int
BigBossDuck. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Called before energy is removed from figure.int
BlueChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Overheat-damage is ignored.int
ChrystalMonster. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes the given amount from this things energy level (if it is not invulnerable).protected int
FlameBall. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Called before energy is removed from figure.int
GreenChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Overheat-damage is ignored.int
RedChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes the given amount from this things energy level (if it is not invulnerable).int
TheRat. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes the given amount from this things energy level (if it is not invulnerable).int
YellowChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Overheat-damage is ignored.protected int
BigBossDuck. onExplode(int power, Thing source, AnimationInfo animation)
Performed, when a thing stands in an explosion.protected int
BlasterTank. onExplode(int power, Thing source, AnimationInfo animation)
Performed, when a thing stands in an explosion.void
CleverComputerFigureMK2. onRoundBegin(AnimationInfo animation)
This method is called at the beginning of each round.protected void
BigBossDrone. performExplodingEffect(AnimationInfo animation)
Performs the explosion effect.protected void
GrayDeath. performExplodingEffect(AnimationInfo animation)
Colors the surrounding points dark gray when dying.protected void
Rocketeer. performExplodingEffect(AnimationInfo animation)
Performas an effect when the Rocketeer dies.protected void
Swirlie. performExplodingEffect(AnimationInfo animation)
Makes the Swirlies point swirl when dying.protected void
LaserTower. performLaserEffect(Thing target, AnimationInfo animation)
Performs the laser hit effect.protected void
SuperLaserTower. performLaserEffect(Thing target, AnimationInfo animation)
Performs the laser hit effect.void
CleverComputerFigure. rocketStarted(ItemRocket r, AnimationInfo animation)
Sets the danger flag after a rocket was started.void
CleverComputerFigureMK2. rocketStarted(ItemRocket r, AnimationInfo animation)
Sets the danger flag after a rocket was started.void
SwampGhost. sink(Thing source, AnimationInfo animation)
Does nothing - Swamp ghost does not sink. -
Uses of AnimationInfo in com.starpoints.game.fog
Methods in com.starpoints.game.fog with parameters of type AnimationInfo Modifier and Type Method Description java.lang.String
FogCool. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
FogHeal. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
FogHide. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
FogHurt. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
FogInvulnerable. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
FogSink. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
FogSlow. getImageName(AnimationInfo animation)
Returns image name.protected void
FogCool. performEnterEffect(Thing t, AnimationInfo animation)
Removes 10 energy.protected void
FogHeal. performEnterEffect(Thing t, AnimationInfo animation)
Regenerates MagentaEnergyGain*5 energy.protected void
FogHeat. performEnterEffect(Thing t, AnimationInfo animation)
Adds 10 heat.protected void
FogHide. performEnterEffect(Thing t, AnimationInfo animation)
Makes figures inside fogInvisible.protected void
FogHurt. performEnterEffect(Thing t, AnimationInfo animation)
Removes 10 energy.protected void
FogInvulnerable. performEnterEffect(Thing t, AnimationInfo animation)
Makes figures inside invulnerable for 2 rounds.protected void
FogSink. performEnterEffect(Thing t, AnimationInfo animation)
Makes a figure sink.protected void
FogSlow. performEnterEffect(Thing t, AnimationInfo animation)
Stuns all figures on the field, if the thing that enters is a figure.protected void
FogCool. performLeaveEffect(Thing t, AnimationInfo animation)
Nothing special on leave.protected void
FogHeal. performLeaveEffect(Thing t, AnimationInfo animation)
Nothing special on leave.protected void
FogHeat. performLeaveEffect(Thing t, AnimationInfo animation)
Nothing special on leave.protected void
FogHide. performLeaveEffect(Thing t, AnimationInfo animation)
Does nothing.protected void
FogHurt. performLeaveEffect(Thing t, AnimationInfo animation)
Nothing special on leave.protected void
FogInvulnerable. performLeaveEffect(Thing t, AnimationInfo animation)
Does nothing.protected void
FogSink. performLeaveEffect(Thing t, AnimationInfo animation)
Nothing special on leave.protected void
FogSlow. performLeaveEffect(Thing t, AnimationInfo animation)
Does nothing.protected void
FogCool. performStayEffect(Thing t, AnimationInfo animation)
Removes 10 energy.protected void
FogHeal. performStayEffect(Thing t, AnimationInfo animation)
Regenerates MagentaEnergyGain*3 energy.protected void
FogHeat. performStayEffect(Thing t, AnimationInfo animation)
Adds 10 energy.protected void
FogHide. performStayEffect(Thing t, AnimationInfo animation)
Makes figures inside fogInvisible.protected void
FogHurt. performStayEffect(Thing t, AnimationInfo animation)
Removes 10 energy.protected void
FogInvulnerable. performStayEffect(Thing t, AnimationInfo animation)
Keeps figures inside invulnerable and lets it loose 10.000 score.protected void
FogSink. performStayEffect(Thing t, AnimationInfo animation)
Does nothing.protected void
FogSlow. performStayEffect(Thing t, AnimationInfo animation)
Every 4 rounds, stying in the fog stuns all figures on the field, if the thing that stays in the fog is a figure.protected void
FogSlow. stun(Figure f, AnimationInfo animation)
Stuns all figures on the field. -
Uses of AnimationInfo in com.starpoints.game.item
Methods in com.starpoints.game.item with parameters of type AnimationInfo Modifier and Type Method Description protected void
ItemAsteroid. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for asteroid painting.protected void
ItemBigMine. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for bigmine painting.protected void
ItemBlasterGenerator. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for blaster generator painting.protected void
ItemChrystalStone. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for chrystal stone painting.protected void
ItemColorBucket. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for color bucket painting.protected void
ItemDoubleShields. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for color bucket painting.protected void
ItemDriller. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for driller painting.protected void
ItemEnergyLoss. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for energy loss painting.protected void
ItemMine. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for mine painting.protected void
ItemMoney. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for rocket painting.protected void
ItemPhantomPoints. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for warp points painting.protected void
ItemRocket. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for rocket painting.protected void
ItemRocketeer. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for energy loss painting.protected void
ItemSatellite. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for satellite painting.protected void
ItemSecretLevel. addStateProperties(ThingState state, AnimationInfo animation)
Adds properties necessary for secretlevel painting.boolean
ItemChrystalStone. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)
boolean
ItemDriller. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)
boolean
ItemSatellite. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)
Called, if the satellite is active.boolean
ItemAbstractChrystal. beforePickup(Figure picker, AnimationInfo animation)
Called when picked up.boolean
ItemRocketGeneratorBoost. beforePickup(Figure picker, AnimationInfo animation)
Checks, if a RocketGenerator is present,boolean
ItemRocketGeneratorBoostFast. beforePickup(Figure picker, AnimationInfo animation)
Checks, if a RocketGenerator is present,boolean
ItemChrystalStone. beRammed(Figure rammer, AnimationInfo animation)
boolean
ItemExplosion. beRammed(Figure rammer, AnimationInfo animation)
Returns false.boolean
ItemJungleTree. beRammed(Figure rammer, AnimationInfo animation)
Called, if the item is rammed by a figure.boolean
ItemRock. beRammed(Figure rammer, AnimationInfo animation)
Called, if the item is rammed by a figure.boolean
ItemRocketeer. beRammed(Figure rammer, AnimationInfo animation)
Called, if this item is "picked up" by a figure.protected void
ItemAbstractChrystal. createExit(int x, int y, AnimationInfo animation)
Creates the exit when collected.protected void
ItemRatPoison. createExit(int x, int y, AnimationInfo animation)
Creates the exit when collected.protected void
ItemBigMine. detonate(AnimationInfo animation)
Makes the BigMine detonate, if count down ends.void
ItemDropRocket. detonate(Point p, AnimationInfo animation)
Makes all figures directly around the detonation lose 1 to 3 items, depending on this rockets energy.void
ItemGrayRocket. detonate(Point p, AnimationInfo animation)
Colors all fields around the detonation point dark gray.void
ItemHeatRocket. detonate(Point p, AnimationInfo animation)
Detonates with a radius depending on the rockets energy and heats up the points in the detoon radius.void
ItemMine. detonate(AnimationInfo animation)
Lets the mine detonate.void
ItemRocket. detonate(Point p, AnimationInfo animation)
Detonates with a radius depending on the rockets energy.void
ItemSwirlRocket. detonate(Point p, AnimationInfo animation)
Lets all points in a 3 point radius start to swirl colors.void
ItemAsteroidSpawner. die(Thing source, DieReason reason, AnimationInfo animation)
Does nothing.void
ItemBigMine. die(Thing source, DieReason reason, AnimationInfo animation)
Sets the status of the thing to exploding (if it is not invulnerabe).void
ItemMine. die(Thing source, DieReason reason, AnimationInfo animation)
Sets the status of the thing to exploding (if it is not invulnerabe).void
ItemRocket. die(Thing source, DieReason reason, AnimationInfo animation)
Explodes, if INACTIVE, otherwise detonate.protected void
ItemBigMine. doSpecialUpdate(AnimationInfo animation)
If the state is TOBEDROPPED, the bomb is placed on the droppoint, and the audio clip set in the clipStr variable is played.protected void
ItemChainExplosion. doSpecialUpdate(AnimationInfo animation)
Updates the radius, if active.protected void
ItemCode. doSpecialUpdate(AnimationInfo animation)
Called each round, if the code is hold by a figure.protected void
ItemDriller. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round in overridden classes.protected void
ItemExplosion. doSpecialUpdate(AnimationInfo animation)
Updates this thing after each round.protected void
ItemFireExtinguisher. doSpecialUpdate(AnimationInfo animation)
Resets the used flag.protected void
ItemHeatRocket. doSpecialUpdate(AnimationInfo animation)
Changes the color.protected void
ItemHoverPower. doSpecialUpdate(AnimationInfo animation)
Resets the used flag.protected void
ItemMine. doSpecialUpdate(AnimationInfo animation)
Places a new mine on the field if the user dropped one or lets the mine detonate, if a figure comes near.protected void
ItemMoney. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round in overridden classes.protected void
ItemMystery. doSpecialUpdate(AnimationInfo animation)
Switches images.protected void
ItemRocket. doSpecialUpdate(AnimationInfo animation)
Recalculates the target and target line.protected void
ItemRocketGeneratorBoost. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round .protected void
ItemRocketGeneratorBoostFast. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round .protected void
ItemSatellite. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round in overridden classes.protected void
ItemSecretLevel. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round.protected void
ItemShielding. doSpecialUpdate(AnimationInfo animation)
Performs the update in each round in overridden classes.protected void
ItemSwirlRocket. doSpecialUpdate(AnimationInfo animation)
Changes the items colors each round.boolean
ItemGrayBlocker. entersColor(Figure f, int c, AnimationInfo animation)
Called, if the figure enters a black, blue or gray point.boolean
ItemAntiKill. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)
FigureListener method that prevents explosion.boolean
ItemBlackBlocker. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)
Figure listener method.protected void
ItemRocketeer. fireRocket(AnimationInfo animation)
Fires the rocket.protected void
ItemAbstractChrystal. freeSlot(Figure picker, AnimationInfo animation)
Does nothing, if picker has free slots.int
ItemEnergyTransformer. gainsEnergy(Figure f, int energyChange, AnimationInfo animation)
Figure listener method, that adds the energy change to the figures item as well.java.lang.String
ItemBlasterGenerator. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemBombKit. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemCoolGenerator. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemECM. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemEnergyTransformer. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemFireExtinguisher. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemFlameThrowerGenerator. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemHoverPower. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemMagentaDouble. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemRamGenerator. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemRocketGenerator. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemRocketGeneratorBoost. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemRocketGeneratorBoostFast. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemStabilizerDevice. getFigureOverlayImageName(AnimationInfo animation)
Gets an image name for painting on the figure.java.lang.String
ItemAsteroid. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemAsteroidSpawner. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemBomb. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemDoubleShields. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemEnergy. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemEnergyPlusSuper. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemExplosion. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemFireball. getImageName(AnimationInfo animation)
Returns image name, depending on the move direction.java.lang.String
ItemHeadupDisplay. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemJungleTree. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemMap. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemMapBoost. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemMoney. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemMud. getImageName(AnimationInfo animation)
Returns image name, depending on the move direction.java.lang.String
ItemMystery. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemMystify. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemRock. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemSecretLevel. getImageName(AnimationInfo animation)
Returns image name.java.lang.String
ItemSinker. getImageName(AnimationInfo animation)
Returns image name, depending on the move direction.int
ItemHeatShielding. heatChanges(Figure f, boolean internal, int heat, AnimationInfo animation)
Reduces heat gain by shielding.int
ItemBlueChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Ram.int
ItemGreenChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Ram.int
ItemRamGenerator. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Ram.int
ItemRamPower. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Removes one ram power.int
ItemRamShield. isRammed(Figure f, Figure rammer, int power, AnimationInfo animation)
Reduces the ram power (and the shieldings energy).int
ItemRedChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Ram.int
ItemYellowChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Ram.int
ItemECM. isStunned(Figure f, int change, AnimationInfo animation)
Figure listener method.int
ItemGoldenShield. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)
The damage is reduced and the shieldings energy is reduced.int
ItemRocketShielding. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)
If the reason for the energyloss is an explosion, the damage (and shieldings energy) is reduced.int
ItemShieldExplosion. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)
If the reason for the energyloss is an explosion, the damage is reduced and the shieldings energy is reduced.boolean
ItemDarkRedBlocker. losesPermanentItem(Figure f, Item i, AnimationInfo animation)
Figure listener method that decreases duration by one and prevents loosing.void
ItemAbstractChrystal. lostPermanentItem(Figure f, Item i, AnimationInfo animation)
Adds this item as permanent, if the last permanent item was finally removed and removes itself as item listener.protected void
ItemFireball. move(AnimationInfo animation)
Moves this Item to a random neighbored point, if the chosen point is not occupied.protected void
ItemMovingEnergyLoss. move(AnimationInfo animation)
Moves this Item to a random neighbored point, if the chosen point is not occupied.protected void
ItemMud. move(AnimationInfo animation)
Moves this Item to a random neighbored point, if the chosen point is not occupied.protected void
ItemDriller. moveToTarget(AnimationInfo animation)
Moves the user to the target point.protected void
ItemRocket. moveToTarget(AnimationInfo animation)
Moves to the target, in case the speedCounter has increased to the speed value.protected void
ItemECM. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Checks if the user is a rocket target to correctly handle loss of this item.void
ItemEnergyPlusSuper. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Adds this item as permanent.void
ItemFlameThrowerGenerator. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Adds this item to the permanent item list.protected void
ItemRamGenerator. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Stores the energy when picked up for ram generation limit.void
ItemRatPoison. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Adds this item as permanent.void
ItemRocketGeneratorBoost. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Adds this item to the permanent item list.void
ItemRocketGeneratorBoostFast. onAddedAsPermanentItem(Figure user, AnimationInfo animation)
Adds this item to the permanent item list.protected void
ItemAsteroid. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)
Called, before the item dies.protected void
ItemSatellite. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)
Called, before the item dies.boolean
ItemAsteroidSpawner. onBeHitByItem(Thing rammer, AnimationInfo animation)
Method called if another item moves to this items point (e.g. rockets).boolean
ItemBigMine. onBeHitByItem(Thing rammer, AnimationInfo animation)
Method called if another item moves to this items point (e.g. rockets).boolean
ItemFireball. onBeHitByItem(Thing rammer, AnimationInfo animation)
Method called if another item moves to this items point (e.g. rockets).boolean
ItemMovingEnergyLoss. onBeHitByItem(Thing rammer, AnimationInfo animation)
Method called if another item moves to this items point (e.g. rockets).boolean
ItemMud. onBeHitByItem(Thing rammer, AnimationInfo animation)
Method called if another item moves to this items point (e.g. rockets).void
ItemECM. onBeLost(Figure oldOwner, AnimationInfo animation)
Makes the user a rocket target again.void
ItemRocketGeneratorBoost. onBeLost(Figure oldOwner, AnimationInfo animation)
Makes the user a rocket target again.void
ItemRocketGeneratorBoostFast. onBeLost(Figure oldOwner, AnimationInfo animation)
Undoes the RocketGenerator boost.boolean
ItemAsteroid. onBePickedUp(Figure picker, AnimationInfo animation)
Teleports away.boolean
ItemAsteroidSpawner. onBePickedUp(Figure picker, AnimationInfo animation)
Teleports away.boolean
ItemBigMine. onBePickedUp(Figure picker, AnimationInfo animation)
If in inactive state, superclass implementation is called.boolean
ItemBlackRain. onBePickedUp(Figure picker, AnimationInfo animation)
Starts the black rain on the field.protected boolean
ItemBomb. onBePickedUp(Figure picker, AnimationInfo animation)
Should be overridden in subclasses to implement the pick up behaviour.boolean
ItemCode. onBePickedUp(Figure picker, AnimationInfo animation)
Sets the level code and returns true.boolean
ItemCool. onBePickedUp(Figure picker, AnimationInfo animation)
Cools the player down by this items energy level degrees.boolean
ItemDoubleShields. onBePickedUp(Figure picker, AnimationInfo animation)
Increases all owners shielding.boolean
ItemDropRocket. onBePickedUp(Figure picker, AnimationInfo animation)
If INACTIVE, normal picking up, if ACTIVE, picker dies, if he has no explosion shielding, otherwise the pickers energy is reduced by 2 times this rockets energy, divided by the rocket shielding.boolean
ItemEnergy. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the pickers energy.boolean
ItemEnergyLoss. onBePickedUp(Figure picker, AnimationInfo animation)
Removes energy from the picker.boolean
ItemExplosion. onBePickedUp(Figure picker, AnimationInfo animation)
Lets the collector explode.boolean
ItemExtraLive. onBePickedUp(Figure picker, AnimationInfo animation)
Adds a a live to the picker's.boolean
ItemExtraSlots. onBePickedUp(Figure picker, AnimationInfo animation)
Adds 3 slots to the picker's.boolean
ItemFireball. onBePickedUp(Figure picker, AnimationInfo animation)
Lets the collector sink.boolean
ItemHeadupDisplay. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the pickers energy.boolean
ItemHealingPotion. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the picker's max energy and initial energy.boolean
ItemInitialEnergy. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the picker's energy, initial energy, and max energy.boolean
ItemInvulnerability. onBePickedUp(Figure picker, AnimationInfo animation)
Makes the picker invulnerable for ENERGY / 12 rounds.boolean
ItemMap. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the pickers energy.boolean
ItemMapBoost. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the pickers energy.boolean
ItemMine. onBePickedUp(Figure picker, AnimationInfo animation)
If this mine is active, a picker dies immediatly.boolean
ItemMoney. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items money value to the picker's money.boolean
ItemMud. onBePickedUp(Figure picker, AnimationInfo animation)
Lets the collector sink.boolean
ItemMystery. onBePickedUp(Figure picker, AnimationInfo animation)
Makes the picker pick up original item.boolean
ItemMystify. onBePickedUp(Figure picker, AnimationInfo animation)
Covers all items in a 3 point radius behind ItemMysteries.boolean
ItemNewThings. onBePickedUp(Figure picker, AnimationInfo animation)
Stops the point fx for one round and places new items on the field (with a probability of energy/6boolean
ItemNextLevel. onBePickedUp(Figure picker, AnimationInfo animation)
If the current level is a TutorialLevel, it is switched to the next tutorial.boolean
ItemNoFX. onBePickedUp(Figure picker, AnimationInfo animation)
Stops all point fx for a number of rounds depending on this items energy.boolean
ItemPeace. onBePickedUp(Figure picker, AnimationInfo animation)
Stops explosions for a number of rounds depending on this items energy.boolean
ItemPermanentSlots. onBePickedUp(Figure picker, AnimationInfo animation)
Adds one slot to the picker's inventory.boolean
ItemPhantomPoints. onBePickedUp(Figure picker, AnimationInfo animation)
Displays "Hahaha...boolean
ItemPointLoss. onBePickedUp(Figure picker, AnimationInfo animation)
Removes this items energy from the picker's points.boolean
ItemPoints. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the picker's points.boolean
ItemRamRepower. onBePickedUp(Figure picker, AnimationInfo animation)
Restores energy of all ItemRamPower.boolean
ItemRandomTune. onBePickedUp(Figure picker, AnimationInfo animation)
If this item is not destroyed, it plays a random tune from the sound directory.boolean
ItemRocket. onBePickedUp(Figure picker, AnimationInfo animation)
If INACTIVE, normal picking up, if ACTIVE, picker dies, if he has no explosion shielding, otherwise the pickers energy is reduced by 2 times this rockets energy, divided by the rocket shielding.boolean
ItemSatellite. onBePickedUp(Figure picker, AnimationInfo animation)
If the satellite is active, it gives rocket damage to picker (as long as it is not the user).boolean
ItemSecretLevel. onBePickedUp(Figure picker, AnimationInfo animation)
If the item is active, it switches to the next (secret) level, otherwise teleports to a free point.boolean
ItemShield. onBePickedUp(Figure picker, AnimationInfo animation)
Shields the picker against energy losses.boolean
ItemSmartBomb. onBePickedUp(Figure picker, AnimationInfo animation)
Lets all points on the field explode, except for this items point.boolean
ItemWarpPoints. onBePickedUp(Figure picker, AnimationInfo animation)
Adds this items energy to the pickers points.boolean
ItemBigMine. onBeUsed(Figure user, AnimationInfo animation)
Uses the big mine, by setting state to TOBEDROPPED, which drops the mine as soon as the user moves.boolean
ItemBlaster. onBeUsed(Figure user, AnimationInfo animation)
Fires ItemFireBalls in all 4 directions when being used.boolean
ItemColorBucket. onBeUsed(Figure user, AnimationInfo animation)
Colors the surrounding fields in the buckets color, and stops swirling on the points.boolean
ItemDriller. onBeUsed(Figure user, AnimationInfo animation)
Makes the user invulnerable for ENERGY / 20 rounds.boolean
ItemFlameThrower. onBeUsed(Figure user, AnimationInfo animation)
Lets all points on the field explode, except for this items point.boolean
ItemFlameThrowerMK2. onBeUsed(Figure user, AnimationInfo animation)
Lets all points in same row and column explode.boolean
ItemHover. onBeUsed(Figure user, AnimationInfo animation)
Makes the user hover.boolean
ItemInvisibility. onBeUsed(Figure user, AnimationInfo animation)
Makes the user invulnerable for 10 rounds.boolean
ItemMagentaPotion. onBeUsed(Figure user, AnimationInfo animation)
Colors some of the surrounding points magenta, with a possibility depending on this items energy.boolean
ItemMine. onBeUsed(Figure user, AnimationInfo animation)
Colors some of the surrounding points magenta, with a possibility depending on this items energy.boolean
ItemPickableInvulnerability. onBeUsed(Figure user, AnimationInfo animation)
Makes the user invulnerable for ENERGY / 20 rounds.boolean
ItemRocket. onBeUsed(Figure user, AnimationInfo animation)
Starts this rocket (if it is ok).boolean
ItemSatellite. onBeUsed(Figure user, AnimationInfo animation)
Adds the satellite as move listener.boolean
ItemSinkBeam. onBeUsed(Figure user, AnimationInfo animation)
Fires ItemSinkers in all 4 directions when being used.boolean
ItemStabilizer. onBeUsed(Figure user, AnimationInfo animation)
Stops sinking.boolean
ItemStun. onBeUsed(Figure user, AnimationInfo animation)
Stuns all figures (except the user).void
ItemSatellite. onDrop(Figure oldOwner, AnimationInfo animation)
Called if the item is lost.void
ItemBigMine. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
ItemChainExplosion. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
ItemDropRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
ItemGrayRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
ItemMine. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
ItemRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.void
ItemSwirlRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)
Called, if the thing killed an enemy.protected int
ItemBigMine. onExplode(int min, Thing source, AnimationInfo animation)
Sets the status to exploding (if it is not invulnerabe).protected int
ItemMine. onExplode(int min, Thing source, AnimationInfo animation)
Sets the status to exploding (if it is not invulnerabe).boolean
ItemAsteroid. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.boolean
ItemFireball. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.boolean
ItemMovingEnergyLoss. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.boolean
ItemMud. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.boolean
ItemRocket. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.boolean
ItemSatellite. onHitItem(Item rammedItem, AnimationInfo animation)
Method called if this item moves and hits another item.protected void
ItemEnergyLoss. performEnergyLossEffect(Thing picker, AnimationInfo animation)
Performs the energy loss effect when being picked up.protected void
ItemMud. performEnergyLossEffect(Thing picker, AnimationInfo animation)
Performs the energy loss effect when being picked up.protected void
ItemSinker. performEnergyLossEffect(Thing picker, AnimationInfo animation)
Performs the energy loss effect when being picked up.protected void
ItemFireball. performExplosionEffect(Thing picker, AnimationInfo animation)
Performs the explosion effect when being picked up or hitting anything.protected void
ItemAsteroid. performFieldEffect(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
ItemAsteroidSpawner. performFieldEffect(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
ItemBigMine. performFieldEffect(AnimationInfo animation)
If the state is active, the countdown is performed, if 0 is reached, the bomb detonates.protected void
ItemChrystalStone. performFieldEffect(AnimationInfo animation)
Called each round if the item lies on the field.protected void
ItemCleverRocket. performFieldEffect(AnimationInfo animation)
Recalculates the target, and explodes after 60 rounds being ACTIVE.protected void
ItemDuckRocket. performFieldEffect(AnimationInfo animation)
Does nothing.protected void
ItemFireball. performFieldEffect(AnimationInfo animation)
Moves this item every n rounds, where n is 2 at maximum energy, and 10 at lowest.protected void
ItemMine. performFieldEffect(AnimationInfo animation)
Places a new mine on the field if the user dropped one or lets the mine detonate, if a figure comes near.protected void
ItemMovingEnergyLoss. performFieldEffect(AnimationInfo animation)
Moves this item every n rounds, where n is 2 at maximum energy, and 10 at lowest.protected void
ItemMud. performFieldEffect(AnimationInfo animation)
Moves this item every n rounds, where n is 2 at maximum energy, and 10 at lowest.protected void
ItemPhantomPoints. performFieldEffect(AnimationInfo animation)
Counts down the display counter.protected void
ItemRocket. performFieldEffect(AnimationInfo animation)
Moves to the target if active and speedcount is reached.protected void
ItemRocketeer. performFieldEffect(AnimationInfo animation)
This method is called at the end of the regular updateThing()-method.protected void
ItemSecretLevel. performFieldEffect(AnimationInfo animation)
If the state is active, the countdown is performed, otherwise the item is set randomly active.protected void
ItemWarpPoints. performFieldEffect(AnimationInfo animation)
Is the countdown is reached, this item moves to another point, and an ItemPhantomPoints is placed on the old point.void
ItemBlasterGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)
If this is the first rocket generator, and the owners item is null, the internal round counter is increased.void
ItemCoolGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)
Removes heat from the owner.void
ItemEnergyPlusSuper. performPermanentEffect(Figure owner, AnimationInfo animation)
Adds 2 energy to the owner's.void
ItemFlameThrowerGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)
The internal round counter is increased.void
ItemMagentaDouble. performPermanentEffect(Figure owner, AnimationInfo animation)
Adds energy gain to the owner's energy if on a magenta point.void
ItemRamGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)
Adds 1 ram power gain.void
ItemRatPoison. performPermanentEffect(Figure owner, AnimationInfo animation)
Adds 2 energy to the owner's.void
ItemRocketGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)
If this is the first rocket generator, and the owners item is null, the internal round counter is increased.void
ItemStabilizerDevice. performPermanentEffect(Figure owner, AnimationInfo animation)
If the owner is sinking, and carries no item around, an ItemGrapplingHook is provided.boolean
ItemBombKit. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)
Decreases duration by 1, returns false to prevent user from exploding hen picking up bomb.boolean
ItemFireExtinguisher. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)
Decreases duration by 1 and returns false.void
ItemAsteroidSpawner. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Does nothing.void
ItemChrystalStone. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Does nothing.void
ItemCode. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes no energy- ItemCode never gets destroyed.void
ItemJungleTree. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Gives a point penalty to the source (if its a figure).void
ItemNextLevel. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Does nothing - item never gets destroyed.void
ItemRock. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Does nothing.void
ItemRocketeer. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Removes the given amount from this things energy level (if it is not originated by the own rocket).void
ItemSecretLevel. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Does nothing - item never gets destroyed.void
ItemSinker. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Does nothing.void
ItemECM. rocketStarted(ItemRocket r, AnimationInfo animation)
Method that is called when a rocket is started on the field.void
ItemRocketGenerator. rocketStarted(ItemRocket r, AnimationInfo animation)
Method that is called when a rocket is started on the field.void
ItemAsteroidSpawner. spawnAsteroid(AnimationInfo animation)
Spawns a new Asteroid.int
ItemHoverPower. startsHovering(Figure f, int rounds, AnimationInfo animation)
Figure listener method that doubles hover leght and height.boolean
ItemGrayBlocker. staysOnColor(Figure f, int c, AnimationInfo animation)
Called, if the figure stays on a black, blue or gray point.void
ItemAsteroidSpawner. teleport(AnimationInfo animation)
Teleports away if picked up.boolean
ItemStabilizerDevice. usesItem(Figure f, Item i, AnimationInfo animation)
Called, if the figure uses an item. -
Uses of AnimationInfo in com.starpoints.game.listener
Methods in com.starpoints.game.listener with parameters of type AnimationInfo Modifier and Type Method Description boolean
FigureMoveListener. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)
Called, before the figure moves to a new point.void
FieldListener. bombPlaced(ItemBigMine b, AnimationInfo animation)
Method that is called when a bigmine is placed on the field.boolean
FigureColorListener. entersColor(Figure f, int c, AnimationInfo animation)
Called, if the figure enters a point.boolean
FigureKillListener. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)
Called, if the figure is destroyed.int
FigureEnergyListener. gainsEnergy(Figure f, int energyChange, AnimationInfo animation)
Called, if the figure gains energy.boolean
FigureItemListener. gainsPermanentItem(Figure figure, Item it, AnimationInfo animation)
Called, if the figure adds a permananent item to its inventory.int
FigureItemListener. gainsSlots(Figure f, int slots, AnimationInfo animation)
Called, if the figure gains slots.int
FigureHeatListener. heatChanges(Figure f, boolean internal, int heat, AnimationInfo animation)
Called, if the figure gains heat.int
FigureRamListener. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)
Called, if the figure isRammed.int
FigureStunListener. isStunned(Figure f, int stunLength, AnimationInfo animation)
Called, if a figure is stunned.void
FigureKillListener. killedEnemy(Figure f, Figure enemy, DieReason reason, AnimationInfo animation)
Called, if the figure kills an enemyint
FigureEnergyListener. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)
Called, if the figure loses energy.boolean
FigureItemListener. losesItem(Figure f, Item i, AnimationInfo animation)
Called, if the figure loses an item.boolean
FigureItemListener. losesPermanentItem(Figure f, Item i, AnimationInfo animation)
Called, if the figure uses a permanent item by some external effect (dark red point or rocket).void
FigureItemListener. lostPermanentItem(Figure f, Item i, AnimationInfo animation)
Called, if the figure finally lost a permanent item by some external effect (dark red point or rocket).boolean
FigureItemListener. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)
Called, if the figure pickes up a bomb or active bigmine.boolean
FigureItemListener. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)
Called, if the figure picks up an exploding item.boolean
FigureItemListener. pickesUpItem(Figure f, Item i, AnimationInfo animation)
Called, if the figure picks up an item.int
FigurePointListener. pointsChange(Figure f, int pointChange, AnimationInfo animation)
Called, if the figure gains points during a level.void
FieldListener. rocketStarted(ItemRocket r, AnimationInfo animation)
Method that is called when a rocket is started on the field.int
FigureHoverListener. startsHovering(Figure f, int rounds, AnimationInfo animation)
Called, if the figure starts hovering.boolean
FigureColorListener. staysOnColor(Figure f, int c, AnimationInfo animation)
Called, if the figure stays on a point.boolean
FigureItemListener. usesItem(Figure f, Item i, AnimationInfo animation)
Called, if the figure uses an item.boolean
FigureVisibilityListener. visibilityChanges(Figure f, boolean visible, AnimationInfo animation)
Called, if the visibility of the figure changes. -
Uses of AnimationInfo in com.starpoints.league
Methods in com.starpoints.league with parameters of type AnimationInfo Modifier and Type Method Description ThingState
LeagueFigure. createState(AnimationInfo animation)
Creates a state object for this league figure.protected int
LeagueFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)
Called before energy is removed from figure.
-