Package com.starpoints.game
Class FigureInfo
- java.lang.Object
-
- com.starpoints.game.FigureInfo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class FigureInfo extends java.lang.Object implements java.io.Serializable, java.lang.CloneableInitialization info for a figure in the game.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description booleanaffectsBlueFlag, if figure causes explosions on blue points.booleanapplyLevelInfoSpeedFlag, if this figures speed should be set to the levels enemy speed setting.java.lang.StringclassNameThis figures name.booleandrawNumberFlag, if number is draw on figurebooleandrawStateFlag, if state is draw on figurebooleanhasImageFlag, if Figure has an image.java.lang.StringimageNameName of the figures image.intinitialEnergyThe default initial energy of a thing.intinnerColorThe color for this thing.intiqThe iq of this thing.booleanisAffectedByBlackFlag, if figure is affected by holesbooleanisAffectedByGrayFlag, if figure is affected by gray pointsbooleanisRocketTargetFlag, if figure is target for rockets.ItemInfoitemThe color used for painting shadow effects.intmaxEnergyThe energy maximum of this thing.java.lang.StringnameThis figures name.intouterColorThe color used for painting shadow effects.java.util.List<ItemInfo>permanentItemsThe permanent items of the figure..intpointBonusThe point bonus for an enemy who kills this figure.intramPowerThe power of this figure when ramming.intspeedThe speed of this thing.
-
Constructor Summary
Constructors Constructor Description FigureInfo()
-
-
-
Field Detail
-
className
public java.lang.String className
This figures name.
-
ramPower
public int ramPower
The power of this figure when ramming.
-
isRocketTarget
public boolean isRocketTarget
Flag, if figure is target for rockets.
-
pointBonus
public int pointBonus
The point bonus for an enemy who kills this figure.
-
name
public java.lang.String name
This figures name.
-
imageName
public java.lang.String imageName
Name of the figures image.
-
hasImage
public boolean hasImage
Flag, if Figure has an image.
-
drawNumber
public boolean drawNumber
Flag, if number is draw on figure
-
drawState
public boolean drawState
Flag, if state is draw on figure
-
initialEnergy
public int initialEnergy
The default initial energy of a thing.
-
maxEnergy
public int maxEnergy
The energy maximum of this thing.
-
iq
public int iq
The iq of this thing.
-
speed
public int speed
The speed of this thing.
-
innerColor
public int innerColor
The color for this thing.
-
outerColor
public int outerColor
The color used for painting shadow effects.
-
item
public ItemInfo item
The color used for painting shadow effects.
-
isAffectedByBlack
public boolean isAffectedByBlack
Flag, if figure is affected by holes
-
isAffectedByGray
public boolean isAffectedByGray
Flag, if figure is affected by gray points
-
permanentItems
public java.util.List<ItemInfo> permanentItems
The permanent items of the figure..
-
applyLevelInfoSpeed
public boolean applyLevelInfoSpeed
Flag, if this figures speed should be set to the levels enemy speed setting. true for this simple computer figure.
-
affectsBlue
public boolean affectsBlue
Flag, if figure causes explosions on blue points.
-
-