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 classEmptyAnimationInfoEmpty AnimationInfo dummy for off-game Thing methodcalls.Fields in com.starpoints.animation declared as AnimationInfo Modifier and Type Field Description static AnimationInfoAnimationInfo. EMPTYEmpty Animaton singleton.Methods in com.starpoints.animation that return AnimationInfo Modifier and Type Method Description AnimationInfoAnimationInfo. 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 AnimationInfoUpdateInfo. animationUpdateThe level.protected AnimationInfoGame. gameAnimationThe current game animation.Methods in com.starpoints.game that return AnimationInfo Modifier and Type Method Description AnimationInfoFlashEffects. createFadeInAnimation(Field flashNewField, int flashCount)Creates the animation during field fade in effect.AnimationInfoFlashEffects. createFadeOutAnimation(Field flashOldField, int flashCount)Creates the animation during field fade out effect.AnimationInfoGame. getAnimationInfo()Gets the current AnimationInfo.AnimationInfoGameRoutine. getAnimationInfo()Gets the AnimationInfo, storing all animation events during gameplay.AnimationInfoUpdateInfo. getAnimationInfo()Gets the level.Methods in com.starpoints.game with parameters of type AnimationInfo Modifier and Type Method Description voidFigure. addEnergy(int newEnergy, AnimationInfo animation)Adds the given amount to this things energy level.voidThing. addEnergy(int newEnergy, AnimationInfo animation)Adds the given amount to this things energy level.intFigure. addHeat(int heat, boolean internal, Thing source, AnimationInfo animation)Adds the given amount to this things heat level.voidFigure. addInitialEnergy(int plus, AnimationInfo animation)Adds the given amount to this figures initial energy.voidFigure. addMaxEnergy(int plus, AnimationInfo animation)Adds the given amount to this things energy maximum.voidFigure. addPenalty(int penalty, AnimationInfo animation)Removes the given number of points from the current point count.booleanFigure. 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.voidFigure. addPoints(int pointBonus, AnimationInfo animation)Adds the given number of points to the current point count.voidFigure. addSlots(int newSlots, AnimationInfo animation)Adds a number of slots to the slots for permanent items.protected voidThing. addStateProperties(ThingState state, AnimationInfo animation)Override in superclasses, to add properties necessary for thing painting.booleanFigure. beforeMove(Figure f, Point oldp, Point newp, AnimationInfo animation)Called, before the game handles this figures move.protected booleanItemPermanent. beforePickup(Figure picker, AnimationInfo animation)Called befor picking up a permanent item.booleanItem. bePickedUp(Figure picker, AnimationInfo animation)This method is called, when the item is picked up by a figure.voidFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Performs the effect when this figure is rammed by the rammer or rams him.booleanItemRammable. beRammed(Figure rammer, AnimationInfo animation)Called, if the item is rammed by a figure.booleanItem. beUsed(Figure user, AnimationInfo animation)This method is called when the item is used by a figure.voidItem. bombPlaced(ItemBigMine b, AnimationInfo animation)Method that is called when a bigmine is placed on the field.voidEffects. 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.voidEffects. 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.voidField. 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.voidEffects. crackleGlassPoint(Point p, Thing occupant, AnimationInfo animation)Makes the glass crackle.FieldStateField. createState(java.util.Map<java.lang.Integer,FigureState> figs, AnimationInfo animation)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.LevelStateLevel. createState(AnimationInfo animation)Creates a GameState object representing the current state of the game.ThingStatePlayerFigure. createState(AnimationInfo animation)Creates a state object for this item.PointStatePoint. createState(java.util.Map<java.lang.Integer,FigureState> figs, AnimationInfo animation)Creates a state object for this point.protected abstract ThingStateThing. createState(AnimationInfo animation)voidFigure. die(Thing source, DieReason reason, AnimationInfo animation)Sets the status of the thing to exploding (if it is not invulnerabe).voidItem. die(Thing source, DieReason reason, AnimationInfo animation)Calls the onBeforeDie()-method of subclasses.voidItemPermanent. die(Thing source, DieReason reason, AnimationInfo animation)Removes the item as listener.voidThing. die(Thing source, DieReason reason, AnimationInfo animation)Sets the status of the thing to exploding (if it is not invulnerabe).protected voidComputerFigure. doSpecialUpdate(AnimationInfo animation)Special updates.protected voidFigure. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidItem. doSpecialUpdate(AnimationInfo animation)Performs the update in each round in overridden classes.protected voidItemPermanent. doSpecialUpdate(AnimationInfo animation)Performs the update in each round in overridden classes.voidPlayerFigure. doSpecialUpdate(AnimationInfo animation)Special updates.booleanFigure. entersColor(int c, AnimationInfo animation)Called to check, if the figure is affected by a color when entering a point.booleanItem. entersColor(Figure f, int c, AnimationInfo animation)Called, if the figure enters a point.booleanThing. entersColor(int c, AnimationInfo animation)Called, if the thing occupies a point with the given color.booleanBonusManager. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)booleanItem. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)Empty figure listener method.protected booleanFigure. fireColorEnterEvent(int c, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected booleanFigure. fireColorStayEvent(int c, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected booleanFigure. fireDieEvent(Thing source, DieReason reason, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected intFigure. fireEnergyChangeEvent(int change, AnimationInfo animation)Returns a modified energy change.protected intFigure. fireEnergyLossEvent(int change, DieReason reason, AnimationInfo animation)Returns a modified energy loss.protected booleanFigure. fireGainPermanentItemEvent(Item it, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected intFigure. fireHeatChangeEvent(int change, boolean internal, AnimationInfo animation)Returns a modified heat.protected intFigure. fireHoverEvent(int length, AnimationInfo animation)Returns a modified hover length.protected voidFigure. fireKillsEnemy(Figure enemy, DieReason reason, AnimationInfo animation)Fires the enemyKilled eventprotected booleanFigure. fireLoseItemEvent(Item it, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected booleanFigure. fireLosePermanentItemEvent(Item it, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected voidFigure. fireLostPermanentItemEvent(Item it, AnimationInfo animation)Fires event after permanent item is finally removed from inventory.protected booleanFigure. fireMoveEvent(Point p, Point newP, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected booleanFigure. firePickesUpBombEvent(Item bomb, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected booleanFigure. firePickesUpExplosiveEvent(Item it, AnimationInfo animation)Fires an event indicating that the figure is picking up something exploding.protected booleanFigure. firePickesUpItemEvent(Item it, AnimationInfo animation)Fires an event indicating that the figure is picking up something.protected intFigure. firePointsChangeEvent(int change, AnimationInfo animation)Returns a modified bonus points.protected intFigure. fireRamEvent(Figure rammer, int energyLoss, AnimationInfo animation)Returns the modified ram damage.protected intFigure. fireSlotsChangeEvent(int change, AnimationInfo animation)Returns a modified slot count.protected intFigure. fireStunEvent(int rounds, AnimationInfo animation)Fires Stun event to listeners and adds the changes by listeners.protected booleanFigure. fireUseItemEvent(Item it, AnimationInfo animation)Returns true, if NO listener cancels the actionprotected booleanFigure. fireVisibilityChangesEvent(boolean visible, AnimationInfo animation)Returns true, if NO listener cancels the action.intItem. gainsEnergy(Figure f, int energyChange, AnimationInfo animation)Empty figure listener method.booleanBonusManager. gainsPermanentItem(Figure figure, Item it, AnimationInfo animation)booleanItem. gainsPermanentItem(Figure f, Item i, AnimationInfo animation)Empty figure listener method.intBonusManager. gainsSlots(Figure f, int slots, AnimationInfo animation)intItem. gainsSlots(Figure f, int slots, AnimationInfo animation)Empty figure listener method.java.lang.StringItemPermanent. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.protected intFog. getImageIndex(AnimationInfo animation)Gets the fog image index.java.lang.StringFigure. getImageName(AnimationInfo animation)Gets the image name for this figure.abstract java.lang.StringFog. getImageName(AnimationInfo animation)Gets an image name for the fog.java.lang.StringThing. getImageName(AnimationInfo animation)Returns image name relative to path /pics, without suffix.protected java.lang.ObjectThing. getStateObject(java.lang.Object val, AnimationInfo animation)Might be used to retrieve a State object for a given obejct.voidGameRoutine. handleHittingItems(Item i, Point oldp, Point newp, Thing rammer, AnimationInfo animation)Handles items hitting each other.intItem. heatChanges(Figure f, boolean internal, int heat, AnimationInfo animation)Empty figure listener method if the heat of a figure changes.voidFigure. hover(int height, int length, AnimationInfo animation)Lets this figure hover for n rounds at the given height.intItem. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Empty figure listener method.intItem. isStunned(Figure f, int rounds, AnimationInfo animation)Empty figure listener method.voidBonusManager. killedEnemy(Figure f, Figure enemy, DieReason reason, AnimationInfo animation)voidItem. killedEnemy(Figure f, Figure enemy, DieReason reason, AnimationInfo animation)Empty figure listener method.voidFigure. loseItem(AnimationInfo animation)Lets the figure lose the current item.voidFigure. losePermanentItem(AnimationInfo animation)Removes the last permanent item from the figures list, if the figure has one.voidFigure. losePermanentItem(Item i, AnimationInfo animation)Removes the given permanent item from the figures list, if the figure owns it.voidFigure. 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.intItem. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)Called, if the figure loses energy.booleanBonusManager. losesItem(Figure f, Item i, AnimationInfo animation)booleanItem. losesItem(Figure f, Item i, AnimationInfo animation)Empty figure listener method.booleanBonusManager. losesPermanentItem(Figure f, Item i, AnimationInfo animation)booleanItem. losesPermanentItem(Figure f, Item i, AnimationInfo animation)Empty figure listener method.voidBonusManager. lostPermanentItem(Figure f, Item i, AnimationInfo animation)voidItem. lostPermanentItem(Figure f, Item i, AnimationInfo animation)Empty figure listener method.voidPoint. occupy(Thing newOccupant, boolean performEnterEffect, AnimationInfo animation)Occupies this point with the thing newOccupant performs the point enter effect.protected voidItemPermanent. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Should register this item as listener for events when used.protected voidFigure. onAfterDeath(Point p, AnimationInfo animation)Called after the figure died and was removed from the field.protected booleanFigure. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)Called before the figure dies (after event handling in FigureKillListeners).protected voidItem. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)Called, before the item dies.protected booleanPlayerFigure. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)Called before the figure dies (after event handling in FigureKillListeners).protected intFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Called before energy is removed from figure.protected intPlayerFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Called before energy is removed from figure.booleanItem. onBeHitByItem(Thing rammer, AnimationInfo animation)Method called if another item moves to this items point (e.g. rockets).protected voidItemPermanent. onBeLost(Figure oldOwner, AnimationInfo animation)Should be overridden in subclasses to unregister figure listeners added in the registerListeners-method.protected booleanItem. onBePickedUp(Figure picker, AnimationInfo animation)Should be overridden in subclasses to implement the pick up behaviour.booleanItemPermanent. onBePickedUp(Figure picker, AnimationInfo animation)This method is called, when the item is picked up by a figure.protected booleanItem. onBeUsed(Figure user, AnimationInfo animation)Should be overridden in subclasses for implementing the behaviour when being used.protected booleanItemPermanent. onBeUsed(Figure user, AnimationInfo animation)If the user user this permanent item, it is added to the permanent item list of the user.voidItem. onDrop(Figure oldOwner, AnimationInfo animation)Called if the item is lost.protected voidItemPermanent. onDropPermanent(Figure oldOwner, AnimationInfo animation)Called if the item is lost.voidFigure. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the figure killed an enemy.protected voidFog. onEnemyKilled(Figure figure, int roundCount, DieReason reason, AnimationInfo animation)Called, if something is killed by the fog.voidItem. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidLevel. onEnemyKilled(Figure killer, Figure enemy, AnimationInfo animation)Called by figure, if it killed an enemy, checks for dontKill setting.protected voidThing. onEnemyKilled(Figure figure, int roundCount, DieReason reason, AnimationInfo animation)Called, if a figure was destroyed by this thing.protected intFigure. onExplode(int power, Thing source, AnimationInfo animation)Performed, when a thing stands in an explosion.protected intThing. onExplode(int min, Thing source, AnimationInfo animation)Called, if energy loss with reason explode occurs.booleanItem. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.voidFigure. onRoundBegin(AnimationInfo animation)This method is called at the beginning of each round.protected voidEffects. performBlackEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a black point.protected voidEffects. performBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a blue point.voidEffects. performBrownStayEffect(Point p, Thing occupant, AnimationInfo animation)Lets a figure sink.protected voidEffects. performCyanEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a cyan point.protected voidEffects. performDarkBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a dark blue point.protected voidEffects. performDarkGrayEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a dark gray point.protected abstract voidFog. performEnterEffect(Thing t, AnimationInfo animation)Called, if a thing enters (or is placed on) the fog.protected voidItem. performFieldEffect(AnimationInfo animation)Called each round if the item lies on the field.voidEffects. performGlassStayEffect(Point p, Thing occupant, AnimationInfo animation)Makes the glass point splinter.protected voidEffects. performGrayEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a gray point.protected abstract voidFog. performLeaveEffect(Thing t, AnimationInfo animation)Called, if a thing leaves the fog.protected voidEffects. performLightBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a light blue point.protected voidEffects. performMagentaEnterEffect(Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a magenta point.voidItemPermanent. performPermanentEffect(Figure owner, AnimationInfo animation)Performs the permanent effect of the item, if it can be carried wround permanently.protected voidEffects. performPinkEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a pink point.protected voidEffects. performPointEnterEffect(Field f, Point p, AnimationInfo animation)Performs the effects when a figure or an item enters a field (if fx are on).voidEffects. performPointStayEffect(Field f, Point p, AnimationInfo animation)Performs the effect when a figure stays on a point.protected voidEffects. performRedEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a red point.protected abstract voidFog. performStayEffect(Thing t, AnimationInfo animation)Called, if a thing stays in the fog.protected voidEffects. performVeryDarkBlueEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a very dark blue point.protected voidEffects. performWhiteEnterEffect(Field f, Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a white point.protected voidEffects. performYellowEnterEffect(Point p, Thing occupant, AnimationInfo animation)Performs the effect if a figure enters a yellow point.booleanBonusManager. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)booleanItem. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)Empty figure listener method.booleanBonusManager. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)booleanItem. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)Empty figure listener method.booleanBonusManager. pickesUpItem(Figure f, Item i, AnimationInfo animation)booleanItem. pickesUpItem(Figure f, Item i, AnimationInfo animation)Empty figure listener method.intItem. pointsChange(Figure f, int pointChange, AnimationInfo animation)Empty figure listener method.voidFigure. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Removes the given amount from this things energy level (if it is not invulnerable).voidThing. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Removes the given amount from this things energy level (if it is not invulnerable).voidFigure. removePoints(int pointLoss, AnimationInfo animation)Subtracts the points from the figures current point count.protected ItemStateItem. retrieveState(ItemState state, AnimationInfo animation)Retrieves this things state.protected ThingStateThing. retrieveState(ThingState state, AnimationInfo animation)Retrieves this things state in the state parameter and returns it.voidItem. rocketStarted(ItemRocket r, AnimationInfo animation)Method that is called when a rocket is started on the field.voidPoint. setColor(int newColor, Thing source, AnimationInfo animation)Sets the new color of the point.voidItemPermanent. setDuration(int duration, AnimationInfo animation)Sets the duration for this item.voidFigure. setInvisible(int rounds, AnimationInfo animation)Sets the figure invisible for the given number of rounds.voidFigure. setItem(Item i, AnimationInfo animation)Sets the item for this figure.voidFigure. setVisible(AnimationInfo animation)Returns, if the figure is visible.voidFigure. sink(Thing source, AnimationInfo animation)Makes the figure sink one level.voidEffects. startBlackRain(Figure source, AnimationInfo animation)Starts the black rain effect.intItem. startsHovering(Figure f, int rounds, AnimationInfo animation)Empty figure listener method.booleanFigure. staysOnColor(int c, AnimationInfo animation)Called to check, if the figure is affected by a color when staying on a point.booleanItem. staysOnColor(Figure f, int c, AnimationInfo animation)Called, if the figure stays on a point.booleanThing. staysOnColor(int c, AnimationInfo animation)Called, if the thing stays on a point with the given color.voidFigure. stun(int rounds, AnimationInfo animation)Stuns this figure for the given number of rounds (with additive effect).booleanFigure. 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.voidEffects. updateEffects(AnimationInfo animation)Updates the effects once every round.protected voidThing. updateEnergy(AnimationInfo animation)Updates the figures energy depending on the energy modifiers of the round.protected voidFigure. updateExplodingStatus(AnimationInfo animation)Handles the things status during update phase of the round when thing is exploding.protected voidFog. updateExplodingStatus(AnimationInfo animation)Handles the fogs status during update phase of the round when thing is exploding.protected voidItem. updateExplodingStatus(AnimationInfo animation)Handles the items status during update phase of the round when thing is exploding.protected abstract voidThing. updateExplodingStatus(AnimationInfo animation)Handles the things status during update phase of the round when thing is exploding.voidField. updateField(AnimationInfo animation)Updates the field by calling the update method for every point and the updateEnergy-method for all point occupants afterwards.voidLevel. updateLevel(AnimationInfo animation)Updates the field by calling the update method for the field, and increases the round counter.protected voidPoint. updateOccupant(AnimationInfo animation)Updates the points occupant.protected voidPoint. 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 voidFigure. updateThing(AnimationInfo animation)This method is called after each move.protected voidItem. updateThing(AnimationInfo animation)Updates the item after each round.protected voidThing. updateThing(AnimationInfo animation)Updates this thing after each round.voidFigure. useItem(AnimationInfo animation)Lets the figure use the current item.booleanBonusManager. usesItem(Figure f, Item i, AnimationInfo animation)booleanItem. usesItem(Figure f, Item i, AnimationInfo animation)Empty figure listener method.voidItemPermanent. useUp(AnimationInfo animation)Uses this item up by removing the energy factor from the items energy.booleanItem. 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 voidChaosDuck. addPenalty(int penalty, AnimationInfo animation)Does nothing - ChaosDuck does not get penalties (for killing JungleTrees especially).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.voidBlueChrystalFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Performs the effect when this figure is rammed by the rammer or rams him.voidChrystalMonster. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Performs the effect when this figure is rammed by the rammer or rams him.voidRedChrystalFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Performs the effect when this figure is rammed by the rammer or rams him.voidSantaClaus. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Called, if Santa Claus is rammed.voidTheRat. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Performs the effect when this figure is rammed by the rammer or rams him.voidYellowChrystalFigure. beRammed(Figure rammer, int energyLoss, AnimationInfo animation)Performs the effect when this figure is rammed by the rammer or rams him.voidCleverComputerFigure. bombPlaced(ItemBigMine b, AnimationInfo animation)Method that is called when a bigmine is placed on the field.voidCleverComputerFigureMK2. bombPlaced(ItemBigMine b, AnimationInfo animation)Method that is called when a bigmine is placed on the field.protected ItemRocketBigBossDrone. createRocket(AnimationInfo animation)Creates a rocketprotected ItemRocketRocketeer. createRocket(AnimationInfo animation)Creates a rocket depending on this rocketeers itemNr.protected voidBigBoss. doSpecialUpdate(AnimationInfo animation)Updates after each round.protected voidBigBossDrone. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidBigBossDuck. doSpecialUpdate(AnimationInfo animation)Updates after each round.protected voidBlasterTank. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidBlueChrystalFigure. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidBlueCrawler. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidChaosDuck. doSpecialUpdate(AnimationInfo animation)Special updates.protected voidChrystalMonster. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidCleverComputerFigure. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidCleverComputerFigureMK2. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidFlameBall. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidLaserTower. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidMrBlack. doSpecialUpdate(AnimationInfo animation)Sets the point MrBlack is on to color black.protected voidRocketeer. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidSantaClaus. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidSuperTank. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidSuperTankMK2. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidSwampGhost. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidTank. doSpecialUpdate(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.java.lang.StringBigBossDrone. getImageName(AnimationInfo animation)Gets the image name for this figure.java.lang.StringBigBossDuck. getImageName(AnimationInfo animation)Gets the image name for this figure.java.lang.StringSwampGhost. getImageName(AnimationInfo animation)Returns image name dependent on current game animation index for animation.protected voidBigBoss. onAfterDeath(Point p, AnimationInfo animation)Called, directly after the figure dies and its point is unoccupied.protected voidBigBossDuck. onAfterDeath(Point p, AnimationInfo animation)Called, directly after a figure dies and its point is unoccupied.protected voidBlueChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)Called, directly after a figure dies and its point is unoccupied.protected voidChrystalMonster. onAfterDeath(Point p, AnimationInfo animation)Called, directly after a figure dies and its point is unoccupied.protected voidGreenChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)Called, directly after a figure dies and its point is unoccupied.protected voidRedChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)Called, directly after a figure dies and its point is unoccupied.protected voidYellowChrystalFigure. onAfterDeath(Point p, AnimationInfo animation)Called, directly after a figure dies and its point is unoccupied.protected booleanBigBossDuck. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)Called before the figure dies (after event handling in FigureKillListeners).protected intBigBossDuck. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Called before energy is removed from figure.intBlueChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Overheat-damage is ignored.intChrystalMonster. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Removes the given amount from this things energy level (if it is not invulnerable).protected intFlameBall. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Called before energy is removed from figure.intGreenChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Overheat-damage is ignored.intRedChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Removes the given amount from this things energy level (if it is not invulnerable).intTheRat. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Removes the given amount from this things energy level (if it is not invulnerable).intYellowChrystalFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Overheat-damage is ignored.protected intBigBossDuck. onExplode(int power, Thing source, AnimationInfo animation)Performed, when a thing stands in an explosion.protected intBlasterTank. onExplode(int power, Thing source, AnimationInfo animation)Performed, when a thing stands in an explosion.voidCleverComputerFigureMK2. onRoundBegin(AnimationInfo animation)This method is called at the beginning of each round.protected voidBigBossDrone. performExplodingEffect(AnimationInfo animation)Performs the explosion effect.protected voidGrayDeath. performExplodingEffect(AnimationInfo animation)Colors the surrounding points dark gray when dying.protected voidRocketeer. performExplodingEffect(AnimationInfo animation)Performas an effect when the Rocketeer dies.protected voidSwirlie. performExplodingEffect(AnimationInfo animation)Makes the Swirlies point swirl when dying.protected voidLaserTower. performLaserEffect(Thing target, AnimationInfo animation)Performs the laser hit effect.protected voidSuperLaserTower. performLaserEffect(Thing target, AnimationInfo animation)Performs the laser hit effect.voidCleverComputerFigure. rocketStarted(ItemRocket r, AnimationInfo animation)Sets the danger flag after a rocket was started.voidCleverComputerFigureMK2. rocketStarted(ItemRocket r, AnimationInfo animation)Sets the danger flag after a rocket was started.voidSwampGhost. 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.StringFogCool. getImageName(AnimationInfo animation)Returns image name.java.lang.StringFogHeal. getImageName(AnimationInfo animation)Returns image name.java.lang.StringFogHide. getImageName(AnimationInfo animation)Returns image name.java.lang.StringFogHurt. getImageName(AnimationInfo animation)Returns image name.java.lang.StringFogInvulnerable. getImageName(AnimationInfo animation)Returns image name.java.lang.StringFogSink. getImageName(AnimationInfo animation)Returns image name.java.lang.StringFogSlow. getImageName(AnimationInfo animation)Returns image name.protected voidFogCool. performEnterEffect(Thing t, AnimationInfo animation)Removes 10 energy.protected voidFogHeal. performEnterEffect(Thing t, AnimationInfo animation)Regenerates MagentaEnergyGain*5 energy.protected voidFogHeat. performEnterEffect(Thing t, AnimationInfo animation)Adds 10 heat.protected voidFogHide. performEnterEffect(Thing t, AnimationInfo animation)Makes figures inside fogInvisible.protected voidFogHurt. performEnterEffect(Thing t, AnimationInfo animation)Removes 10 energy.protected voidFogInvulnerable. performEnterEffect(Thing t, AnimationInfo animation)Makes figures inside invulnerable for 2 rounds.protected voidFogSink. performEnterEffect(Thing t, AnimationInfo animation)Makes a figure sink.protected voidFogSlow. performEnterEffect(Thing t, AnimationInfo animation)Stuns all figures on the field, if the thing that enters is a figure.protected voidFogCool. performLeaveEffect(Thing t, AnimationInfo animation)Nothing special on leave.protected voidFogHeal. performLeaveEffect(Thing t, AnimationInfo animation)Nothing special on leave.protected voidFogHeat. performLeaveEffect(Thing t, AnimationInfo animation)Nothing special on leave.protected voidFogHide. performLeaveEffect(Thing t, AnimationInfo animation)Does nothing.protected voidFogHurt. performLeaveEffect(Thing t, AnimationInfo animation)Nothing special on leave.protected voidFogInvulnerable. performLeaveEffect(Thing t, AnimationInfo animation)Does nothing.protected voidFogSink. performLeaveEffect(Thing t, AnimationInfo animation)Nothing special on leave.protected voidFogSlow. performLeaveEffect(Thing t, AnimationInfo animation)Does nothing.protected voidFogCool. performStayEffect(Thing t, AnimationInfo animation)Removes 10 energy.protected voidFogHeal. performStayEffect(Thing t, AnimationInfo animation)Regenerates MagentaEnergyGain*3 energy.protected voidFogHeat. performStayEffect(Thing t, AnimationInfo animation)Adds 10 energy.protected voidFogHide. performStayEffect(Thing t, AnimationInfo animation)Makes figures inside fogInvisible.protected voidFogHurt. performStayEffect(Thing t, AnimationInfo animation)Removes 10 energy.protected voidFogInvulnerable. performStayEffect(Thing t, AnimationInfo animation)Keeps figures inside invulnerable and lets it loose 10.000 score.protected voidFogSink. performStayEffect(Thing t, AnimationInfo animation)Does nothing.protected voidFogSlow. 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 voidFogSlow. 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 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.booleanItemChrystalStone. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)booleanItemDriller. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)booleanItemSatellite. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)Called, if the satellite is active.booleanItemAbstractChrystal. beforePickup(Figure picker, AnimationInfo animation)Called when picked up.booleanItemRocketGeneratorBoost. beforePickup(Figure picker, AnimationInfo animation)Checks, if a RocketGenerator is present,booleanItemRocketGeneratorBoostFast. beforePickup(Figure picker, AnimationInfo animation)Checks, if a RocketGenerator is present,booleanItemChrystalStone. beRammed(Figure rammer, AnimationInfo animation)booleanItemExplosion. beRammed(Figure rammer, AnimationInfo animation)Returns false.booleanItemJungleTree. beRammed(Figure rammer, AnimationInfo animation)Called, if the item is rammed by a figure.booleanItemRock. beRammed(Figure rammer, AnimationInfo animation)Called, if the item is rammed by a figure.booleanItemRocketeer. beRammed(Figure rammer, AnimationInfo animation)Called, if this item is "picked up" by a figure.protected voidItemAbstractChrystal. createExit(int x, int y, AnimationInfo animation)Creates the exit when collected.protected voidItemRatPoison. createExit(int x, int y, AnimationInfo animation)Creates the exit when collected.protected voidItemBigMine. detonate(AnimationInfo animation)Makes the BigMine detonate, if count down ends.voidItemDropRocket. detonate(Point p, AnimationInfo animation)Makes all figures directly around the detonation lose 1 to 3 items, depending on this rockets energy.voidItemGrayRocket. detonate(Point p, AnimationInfo animation)Colors all fields around the detonation point dark gray.voidItemHeatRocket. detonate(Point p, AnimationInfo animation)Detonates with a radius depending on the rockets energy and heats up the points in the detoon radius.voidItemMine. detonate(AnimationInfo animation)Lets the mine detonate.voidItemRocket. detonate(Point p, AnimationInfo animation)Detonates with a radius depending on the rockets energy.voidItemSwirlRocket. detonate(Point p, AnimationInfo animation)Lets all points in a 3 point radius start to swirl colors.voidItemAsteroidSpawner. die(Thing source, DieReason reason, AnimationInfo animation)Does nothing.voidItemBigMine. die(Thing source, DieReason reason, AnimationInfo animation)Sets the status of the thing to exploding (if it is not invulnerabe).voidItemMine. die(Thing source, DieReason reason, AnimationInfo animation)Sets the status of the thing to exploding (if it is not invulnerabe).voidItemRocket. die(Thing source, DieReason reason, AnimationInfo animation)Explodes, if INACTIVE, otherwise detonate.protected voidItemBigMine. 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 voidItemChainExplosion. doSpecialUpdate(AnimationInfo animation)Updates the radius, if active.protected voidItemCode. doSpecialUpdate(AnimationInfo animation)Called each round, if the code is hold by a figure.protected voidItemDriller. doSpecialUpdate(AnimationInfo animation)Performs the update in each round in overridden classes.protected voidItemExplosion. doSpecialUpdate(AnimationInfo animation)Updates this thing after each round.protected voidItemFireExtinguisher. doSpecialUpdate(AnimationInfo animation)Resets the used flag.protected voidItemHeatRocket. doSpecialUpdate(AnimationInfo animation)Changes the color.protected voidItemHoverPower. doSpecialUpdate(AnimationInfo animation)Resets the used flag.protected voidItemMine. 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 voidItemMoney. doSpecialUpdate(AnimationInfo animation)Performs the update in each round in overridden classes.protected voidItemMystery. doSpecialUpdate(AnimationInfo animation)Switches images.protected voidItemRocket. doSpecialUpdate(AnimationInfo animation)Recalculates the target and target line.protected voidItemRocketGeneratorBoost. doSpecialUpdate(AnimationInfo animation)Performs the update in each round .protected voidItemRocketGeneratorBoostFast. doSpecialUpdate(AnimationInfo animation)Performs the update in each round .protected voidItemSatellite. doSpecialUpdate(AnimationInfo animation)Performs the update in each round in overridden classes.protected voidItemSecretLevel. doSpecialUpdate(AnimationInfo animation)Performs the update in each round.protected voidItemShielding. doSpecialUpdate(AnimationInfo animation)Performs the update in each round in overridden classes.protected voidItemSwirlRocket. doSpecialUpdate(AnimationInfo animation)Changes the items colors each round.booleanItemGrayBlocker. entersColor(Figure f, int c, AnimationInfo animation)Called, if the figure enters a black, blue or gray point.booleanItemAntiKill. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)FigureListener method that prevents explosion.booleanItemBlackBlocker. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)Figure listener method.protected voidItemRocketeer. fireRocket(AnimationInfo animation)Fires the rocket.protected voidItemAbstractChrystal. freeSlot(Figure picker, AnimationInfo animation)Does nothing, if picker has free slots.intItemEnergyTransformer. gainsEnergy(Figure f, int energyChange, AnimationInfo animation)Figure listener method, that adds the energy change to the figures item as well.java.lang.StringItemBlasterGenerator. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemBombKit. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemCoolGenerator. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemECM. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemEnergyTransformer. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemFireExtinguisher. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemFlameThrowerGenerator. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemHoverPower. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemMagentaDouble. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemRamGenerator. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemRocketGenerator. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemRocketGeneratorBoost. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemRocketGeneratorBoostFast. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemStabilizerDevice. getFigureOverlayImageName(AnimationInfo animation)Gets an image name for painting on the figure.java.lang.StringItemAsteroid. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemAsteroidSpawner. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemBomb. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemDoubleShields. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemEnergy. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemEnergyPlusSuper. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemExplosion. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemFireball. getImageName(AnimationInfo animation)Returns image name, depending on the move direction.java.lang.StringItemHeadupDisplay. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemJungleTree. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemMap. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemMapBoost. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemMoney. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemMud. getImageName(AnimationInfo animation)Returns image name, depending on the move direction.java.lang.StringItemMystery. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemMystify. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemRock. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemSecretLevel. getImageName(AnimationInfo animation)Returns image name.java.lang.StringItemSinker. getImageName(AnimationInfo animation)Returns image name, depending on the move direction.intItemHeatShielding. heatChanges(Figure f, boolean internal, int heat, AnimationInfo animation)Reduces heat gain by shielding.intItemBlueChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Ram.intItemGreenChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Ram.intItemRamGenerator. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Ram.intItemRamPower. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Removes one ram power.intItemRamShield. isRammed(Figure f, Figure rammer, int power, AnimationInfo animation)Reduces the ram power (and the shieldings energy).intItemRedChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Ram.intItemYellowChrystal. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Ram.intItemECM. isStunned(Figure f, int change, AnimationInfo animation)Figure listener method.intItemGoldenShield. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)The damage is reduced and the shieldings energy is reduced.intItemRocketShielding. 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.intItemShieldExplosion. 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.booleanItemDarkRedBlocker. losesPermanentItem(Figure f, Item i, AnimationInfo animation)Figure listener method that decreases duration by one and prevents loosing.voidItemAbstractChrystal. 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 voidItemFireball. move(AnimationInfo animation)Moves this Item to a random neighbored point, if the chosen point is not occupied.protected voidItemMovingEnergyLoss. move(AnimationInfo animation)Moves this Item to a random neighbored point, if the chosen point is not occupied.protected voidItemMud. move(AnimationInfo animation)Moves this Item to a random neighbored point, if the chosen point is not occupied.protected voidItemDriller. moveToTarget(AnimationInfo animation)Moves the user to the target point.protected voidItemRocket. moveToTarget(AnimationInfo animation)Moves to the target, in case the speedCounter has increased to the speed value.protected voidItemECM. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Checks if the user is a rocket target to correctly handle loss of this item.voidItemEnergyPlusSuper. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Adds this item as permanent.voidItemFlameThrowerGenerator. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Adds this item to the permanent item list.protected voidItemRamGenerator. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Stores the energy when picked up for ram generation limit.voidItemRatPoison. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Adds this item as permanent.voidItemRocketGeneratorBoost. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Adds this item to the permanent item list.voidItemRocketGeneratorBoostFast. onAddedAsPermanentItem(Figure user, AnimationInfo animation)Adds this item to the permanent item list.protected voidItemAsteroid. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)Called, before the item dies.protected voidItemSatellite. onBeforeDie(Thing source, DieReason reason, AnimationInfo animation)Called, before the item dies.booleanItemAsteroidSpawner. onBeHitByItem(Thing rammer, AnimationInfo animation)Method called if another item moves to this items point (e.g. rockets).booleanItemBigMine. onBeHitByItem(Thing rammer, AnimationInfo animation)Method called if another item moves to this items point (e.g. rockets).booleanItemFireball. onBeHitByItem(Thing rammer, AnimationInfo animation)Method called if another item moves to this items point (e.g. rockets).booleanItemMovingEnergyLoss. onBeHitByItem(Thing rammer, AnimationInfo animation)Method called if another item moves to this items point (e.g. rockets).booleanItemMud. onBeHitByItem(Thing rammer, AnimationInfo animation)Method called if another item moves to this items point (e.g. rockets).voidItemECM. onBeLost(Figure oldOwner, AnimationInfo animation)Makes the user a rocket target again.voidItemRocketGeneratorBoost. onBeLost(Figure oldOwner, AnimationInfo animation)Makes the user a rocket target again.voidItemRocketGeneratorBoostFast. onBeLost(Figure oldOwner, AnimationInfo animation)Undoes the RocketGenerator boost.booleanItemAsteroid. onBePickedUp(Figure picker, AnimationInfo animation)Teleports away.booleanItemAsteroidSpawner. onBePickedUp(Figure picker, AnimationInfo animation)Teleports away.booleanItemBigMine. onBePickedUp(Figure picker, AnimationInfo animation)If in inactive state, superclass implementation is called.booleanItemBlackRain. onBePickedUp(Figure picker, AnimationInfo animation)Starts the black rain on the field.protected booleanItemBomb. onBePickedUp(Figure picker, AnimationInfo animation)Should be overridden in subclasses to implement the pick up behaviour.booleanItemCode. onBePickedUp(Figure picker, AnimationInfo animation)Sets the level code and returns true.booleanItemCool. onBePickedUp(Figure picker, AnimationInfo animation)Cools the player down by this items energy level degrees.booleanItemDoubleShields. onBePickedUp(Figure picker, AnimationInfo animation)Increases all owners shielding.booleanItemDropRocket. 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.booleanItemEnergy. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the pickers energy.booleanItemEnergyLoss. onBePickedUp(Figure picker, AnimationInfo animation)Removes energy from the picker.booleanItemExplosion. onBePickedUp(Figure picker, AnimationInfo animation)Lets the collector explode.booleanItemExtraLive. onBePickedUp(Figure picker, AnimationInfo animation)Adds a a live to the picker's.booleanItemExtraSlots. onBePickedUp(Figure picker, AnimationInfo animation)Adds 3 slots to the picker's.booleanItemFireball. onBePickedUp(Figure picker, AnimationInfo animation)Lets the collector sink.booleanItemHeadupDisplay. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the pickers energy.booleanItemHealingPotion. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the picker's max energy and initial energy.booleanItemInitialEnergy. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the picker's energy, initial energy, and max energy.booleanItemInvulnerability. onBePickedUp(Figure picker, AnimationInfo animation)Makes the picker invulnerable for ENERGY / 12 rounds.booleanItemMap. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the pickers energy.booleanItemMapBoost. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the pickers energy.booleanItemMine. onBePickedUp(Figure picker, AnimationInfo animation)If this mine is active, a picker dies immediatly.booleanItemMoney. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items money value to the picker's money.booleanItemMud. onBePickedUp(Figure picker, AnimationInfo animation)Lets the collector sink.booleanItemMystery. onBePickedUp(Figure picker, AnimationInfo animation)Makes the picker pick up original item.booleanItemMystify. onBePickedUp(Figure picker, AnimationInfo animation)Covers all items in a 3 point radius behind ItemMysteries.booleanItemNewThings. onBePickedUp(Figure picker, AnimationInfo animation)Stops the point fx for one round and places new items on the field (with a probability of energy/6booleanItemNextLevel. onBePickedUp(Figure picker, AnimationInfo animation)If the current level is a TutorialLevel, it is switched to the next tutorial.booleanItemNoFX. onBePickedUp(Figure picker, AnimationInfo animation)Stops all point fx for a number of rounds depending on this items energy.booleanItemPeace. onBePickedUp(Figure picker, AnimationInfo animation)Stops explosions for a number of rounds depending on this items energy.booleanItemPermanentSlots. onBePickedUp(Figure picker, AnimationInfo animation)Adds one slot to the picker's inventory.booleanItemPhantomPoints. onBePickedUp(Figure picker, AnimationInfo animation)Displays "Hahaha...booleanItemPointLoss. onBePickedUp(Figure picker, AnimationInfo animation)Removes this items energy from the picker's points.booleanItemPoints. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the picker's points.booleanItemRamRepower. onBePickedUp(Figure picker, AnimationInfo animation)Restores energy of all ItemRamPower.booleanItemRandomTune. onBePickedUp(Figure picker, AnimationInfo animation)If this item is not destroyed, it plays a random tune from the sound directory.booleanItemRocket. 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.booleanItemSatellite. onBePickedUp(Figure picker, AnimationInfo animation)If the satellite is active, it gives rocket damage to picker (as long as it is not the user).booleanItemSecretLevel. onBePickedUp(Figure picker, AnimationInfo animation)If the item is active, it switches to the next (secret) level, otherwise teleports to a free point.booleanItemShield. onBePickedUp(Figure picker, AnimationInfo animation)Shields the picker against energy losses.booleanItemSmartBomb. onBePickedUp(Figure picker, AnimationInfo animation)Lets all points on the field explode, except for this items point.booleanItemWarpPoints. onBePickedUp(Figure picker, AnimationInfo animation)Adds this items energy to the pickers points.booleanItemBigMine. onBeUsed(Figure user, AnimationInfo animation)Uses the big mine, by setting state to TOBEDROPPED, which drops the mine as soon as the user moves.booleanItemBlaster. onBeUsed(Figure user, AnimationInfo animation)Fires ItemFireBalls in all 4 directions when being used.booleanItemColorBucket. onBeUsed(Figure user, AnimationInfo animation)Colors the surrounding fields in the buckets color, and stops swirling on the points.booleanItemDriller. onBeUsed(Figure user, AnimationInfo animation)Makes the user invulnerable for ENERGY / 20 rounds.booleanItemFlameThrower. onBeUsed(Figure user, AnimationInfo animation)Lets all points on the field explode, except for this items point.booleanItemFlameThrowerMK2. onBeUsed(Figure user, AnimationInfo animation)Lets all points in same row and column explode.booleanItemHover. onBeUsed(Figure user, AnimationInfo animation)Makes the user hover.booleanItemInvisibility. onBeUsed(Figure user, AnimationInfo animation)Makes the user invulnerable for 10 rounds.booleanItemMagentaPotion. onBeUsed(Figure user, AnimationInfo animation)Colors some of the surrounding points magenta, with a possibility depending on this items energy.booleanItemMine. onBeUsed(Figure user, AnimationInfo animation)Colors some of the surrounding points magenta, with a possibility depending on this items energy.booleanItemPickableInvulnerability. onBeUsed(Figure user, AnimationInfo animation)Makes the user invulnerable for ENERGY / 20 rounds.booleanItemRocket. onBeUsed(Figure user, AnimationInfo animation)Starts this rocket (if it is ok).booleanItemSatellite. onBeUsed(Figure user, AnimationInfo animation)Adds the satellite as move listener.booleanItemSinkBeam. onBeUsed(Figure user, AnimationInfo animation)Fires ItemSinkers in all 4 directions when being used.booleanItemStabilizer. onBeUsed(Figure user, AnimationInfo animation)Stops sinking.booleanItemStun. onBeUsed(Figure user, AnimationInfo animation)Stuns all figures (except the user).voidItemSatellite. onDrop(Figure oldOwner, AnimationInfo animation)Called if the item is lost.voidItemBigMine. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidItemChainExplosion. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidItemDropRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidItemGrayRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidItemMine. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidItemRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.voidItemSwirlRocket. onEnemyKilled(Figure enemy, int round, DieReason reason, AnimationInfo animation)Called, if the thing killed an enemy.protected intItemBigMine. onExplode(int min, Thing source, AnimationInfo animation)Sets the status to exploding (if it is not invulnerabe).protected intItemMine. onExplode(int min, Thing source, AnimationInfo animation)Sets the status to exploding (if it is not invulnerabe).booleanItemAsteroid. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.booleanItemFireball. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.booleanItemMovingEnergyLoss. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.booleanItemMud. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.booleanItemRocket. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.booleanItemSatellite. onHitItem(Item rammedItem, AnimationInfo animation)Method called if this item moves and hits another item.protected voidItemEnergyLoss. performEnergyLossEffect(Thing picker, AnimationInfo animation)Performs the energy loss effect when being picked up.protected voidItemMud. performEnergyLossEffect(Thing picker, AnimationInfo animation)Performs the energy loss effect when being picked up.protected voidItemSinker. performEnergyLossEffect(Thing picker, AnimationInfo animation)Performs the energy loss effect when being picked up.protected voidItemFireball. performExplosionEffect(Thing picker, AnimationInfo animation)Performs the explosion effect when being picked up or hitting anything.protected voidItemAsteroid. performFieldEffect(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidItemAsteroidSpawner. performFieldEffect(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidItemBigMine. performFieldEffect(AnimationInfo animation)If the state is active, the countdown is performed, if 0 is reached, the bomb detonates.protected voidItemChrystalStone. performFieldEffect(AnimationInfo animation)Called each round if the item lies on the field.protected voidItemCleverRocket. performFieldEffect(AnimationInfo animation)Recalculates the target, and explodes after 60 rounds being ACTIVE.protected voidItemDuckRocket. performFieldEffect(AnimationInfo animation)Does nothing.protected voidItemFireball. performFieldEffect(AnimationInfo animation)Moves this item every n rounds, where n is 2 at maximum energy, and 10 at lowest.protected voidItemMine. 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 voidItemMovingEnergyLoss. performFieldEffect(AnimationInfo animation)Moves this item every n rounds, where n is 2 at maximum energy, and 10 at lowest.protected voidItemMud. performFieldEffect(AnimationInfo animation)Moves this item every n rounds, where n is 2 at maximum energy, and 10 at lowest.protected voidItemPhantomPoints. performFieldEffect(AnimationInfo animation)Counts down the display counter.protected voidItemRocket. performFieldEffect(AnimationInfo animation)Moves to the target if active and speedcount is reached.protected voidItemRocketeer. performFieldEffect(AnimationInfo animation)This method is called at the end of the regular updateThing()-method.protected voidItemSecretLevel. performFieldEffect(AnimationInfo animation)If the state is active, the countdown is performed, otherwise the item is set randomly active.protected voidItemWarpPoints. performFieldEffect(AnimationInfo animation)Is the countdown is reached, this item moves to another point, and an ItemPhantomPoints is placed on the old point.voidItemBlasterGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)If this is the first rocket generator, and the owners item is null, the internal round counter is increased.voidItemCoolGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)Removes heat from the owner.voidItemEnergyPlusSuper. performPermanentEffect(Figure owner, AnimationInfo animation)Adds 2 energy to the owner's.voidItemFlameThrowerGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)The internal round counter is increased.voidItemMagentaDouble. performPermanentEffect(Figure owner, AnimationInfo animation)Adds energy gain to the owner's energy if on a magenta point.voidItemRamGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)Adds 1 ram power gain.voidItemRatPoison. performPermanentEffect(Figure owner, AnimationInfo animation)Adds 2 energy to the owner's.voidItemRocketGenerator. performPermanentEffect(Figure owner, AnimationInfo animation)If this is the first rocket generator, and the owners item is null, the internal round counter is increased.voidItemStabilizerDevice. performPermanentEffect(Figure owner, AnimationInfo animation)If the owner is sinking, and carries no item around, an ItemGrapplingHook is provided.booleanItemBombKit. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)Decreases duration by 1, returns false to prevent user from exploding hen picking up bomb.booleanItemFireExtinguisher. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)Decreases duration by 1 and returns false.voidItemAsteroidSpawner. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Does nothing.voidItemChrystalStone. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Does nothing.voidItemCode. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Removes no energy- ItemCode never gets destroyed.voidItemJungleTree. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Gives a point penalty to the source (if its a figure).voidItemNextLevel. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Does nothing - item never gets destroyed.voidItemRock. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Does nothing.voidItemRocketeer. 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).voidItemSecretLevel. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Does nothing - item never gets destroyed.voidItemSinker. removeEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Does nothing.voidItemECM. rocketStarted(ItemRocket r, AnimationInfo animation)Method that is called when a rocket is started on the field.voidItemRocketGenerator. rocketStarted(ItemRocket r, AnimationInfo animation)Method that is called when a rocket is started on the field.voidItemAsteroidSpawner. spawnAsteroid(AnimationInfo animation)Spawns a new Asteroid.intItemHoverPower. startsHovering(Figure f, int rounds, AnimationInfo animation)Figure listener method that doubles hover leght and height.booleanItemGrayBlocker. staysOnColor(Figure f, int c, AnimationInfo animation)Called, if the figure stays on a black, blue or gray point.voidItemAsteroidSpawner. teleport(AnimationInfo animation)Teleports away if picked up.booleanItemStabilizerDevice. 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 booleanFigureMoveListener. beforeMove(Figure f, Point p, Point newP, AnimationInfo animation)Called, before the figure moves to a new point.voidFieldListener. bombPlaced(ItemBigMine b, AnimationInfo animation)Method that is called when a bigmine is placed on the field.booleanFigureColorListener. entersColor(Figure f, int c, AnimationInfo animation)Called, if the figure enters a point.booleanFigureKillListener. explodes(Figure f, Thing source, DieReason reason, AnimationInfo animation)Called, if the figure is destroyed.intFigureEnergyListener. gainsEnergy(Figure f, int energyChange, AnimationInfo animation)Called, if the figure gains energy.booleanFigureItemListener. gainsPermanentItem(Figure figure, Item it, AnimationInfo animation)Called, if the figure adds a permananent item to its inventory.intFigureItemListener. gainsSlots(Figure f, int slots, AnimationInfo animation)Called, if the figure gains slots.intFigureHeatListener. heatChanges(Figure f, boolean internal, int heat, AnimationInfo animation)Called, if the figure gains heat.intFigureRamListener. isRammed(Figure f, Figure rammer, int ramPower, AnimationInfo animation)Called, if the figure isRammed.intFigureStunListener. isStunned(Figure f, int stunLength, AnimationInfo animation)Called, if a figure is stunned.voidFigureKillListener. killedEnemy(Figure f, Figure enemy, DieReason reason, AnimationInfo animation)Called, if the figure kills an enemyintFigureEnergyListener. losesEnergy(Figure f, int energyChange, DieReason reason, AnimationInfo animation)Called, if the figure loses energy.booleanFigureItemListener. losesItem(Figure f, Item i, AnimationInfo animation)Called, if the figure loses an item.booleanFigureItemListener. losesPermanentItem(Figure f, Item i, AnimationInfo animation)Called, if the figure uses a permanent item by some external effect (dark red point or rocket).voidFigureItemListener. 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).booleanFigureItemListener. pickesUpBomb(Figure f, Item explosive, AnimationInfo animation)Called, if the figure pickes up a bomb or active bigmine.booleanFigureItemListener. pickesUpExplosive(Figure f, Item i, AnimationInfo animation)Called, if the figure picks up an exploding item.booleanFigureItemListener. pickesUpItem(Figure f, Item i, AnimationInfo animation)Called, if the figure picks up an item.intFigurePointListener. pointsChange(Figure f, int pointChange, AnimationInfo animation)Called, if the figure gains points during a level.voidFieldListener. rocketStarted(ItemRocket r, AnimationInfo animation)Method that is called when a rocket is started on the field.intFigureHoverListener. startsHovering(Figure f, int rounds, AnimationInfo animation)Called, if the figure starts hovering.booleanFigureColorListener. staysOnColor(Figure f, int c, AnimationInfo animation)Called, if the figure stays on a point.booleanFigureItemListener. usesItem(Figure f, Item i, AnimationInfo animation)Called, if the figure uses an item.booleanFigureVisibilityListener. 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 ThingStateLeagueFigure. createState(AnimationInfo animation)Creates a state object for this league figure.protected intLeagueFigure. onBeforeRemoveEnergy(int min, Thing source, DieReason reason, AnimationInfo animation)Called before energy is removed from figure.
-