Package com.starpoints.game
Class FlashAnimationInfo
- java.lang.Object
-
- com.starpoints.game.AbstractLevelInfo
-
- com.starpoints.game.FlashAnimationInfo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class FlashAnimationInfo extends AbstractLevelInfo implements java.io.Serializable, java.lang.Cloneable
Flash Animation and game entry information.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intflashAnimationIndexjava.util.LinkedList<FlashInfo>imagesintinitialEnergyintinitialMaxEnergyintinitialMoneyintinitialSlotsjava.util.LinkedList<ItemInfo>itemsjava.lang.Stringnamejava.util.LinkedList<FlashInfo>texts-
Fields inherited from class com.starpoints.game.AbstractLevelInfo
type
-
-
Constructor Summary
Constructors Constructor Description FlashAnimationInfo()Creates a new FlashAnimationInfo.FlashAnimationInfo(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Returns a deep clone.booleancontainsCenterImage()Checks if an image at coordinates (0/0) is contained.intgetFlashAnimationIndex()Gets the index of this FlashAnimation.ItemInfogetFlashAnimationItemInfo(java.lang.String className)java.lang.StringgetName()Returns the level name.ItemInfogetOrCreateFlashAnimationItemInfo(java.lang.String className)-
Methods inherited from class com.starpoints.game.AbstractLevelInfo
toString
-
-
-
-
Field Detail
-
images
public java.util.LinkedList<FlashInfo> images
-
texts
public java.util.LinkedList<FlashInfo> texts
-
items
public java.util.LinkedList<ItemInfo> items
-
initialEnergy
public int initialEnergy
-
initialMaxEnergy
public int initialMaxEnergy
-
initialSlots
public int initialSlots
-
initialMoney
public int initialMoney
-
name
public java.lang.String name
-
flashAnimationIndex
public int flashAnimationIndex
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:AbstractLevelInfoReturns the level name.- Overrides:
getNamein classAbstractLevelInfo- Returns:
- The level type as default.
-
containsCenterImage
public boolean containsCenterImage()
Checks if an image at coordinates (0/0) is contained.- Returns:
- true, if an image at coordinates (0/0) is contained.
-
getFlashAnimationItemInfo
public ItemInfo getFlashAnimationItemInfo(java.lang.String className)
-
getOrCreateFlashAnimationItemInfo
public ItemInfo getOrCreateFlashAnimationItemInfo(java.lang.String className)
-
clone
public java.lang.Object clone()
Returns a deep clone.- Overrides:
clonein classAbstractLevelInfo
-
getFlashAnimationIndex
public int getFlashAnimationIndex()
Gets the index of this FlashAnimation.- Returns:
- The index.
-
-