Class FigureInfo

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class FigureInfo
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Initialization info for a figure in the game.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean affectsBlue
      Flag, if figure causes explosions on blue points.
      boolean applyLevelInfoSpeed
      Flag, if this figures speed should be set to the levels enemy speed setting.
      java.lang.String className
      This figures name.
      boolean drawNumber
      Flag, if number is draw on figure
      boolean drawState
      Flag, if state is draw on figure
      boolean hasImage
      Flag, if Figure has an image.
      java.lang.String imageName
      Name of the figures image.
      int initialEnergy
      The default initial energy of a thing.
      int innerColor
      The color for this thing.
      int iq
      The iq of this thing.
      boolean isAffectedByBlack
      Flag, if figure is affected by holes
      boolean isAffectedByGray
      Flag, if figure is affected by gray points
      boolean isRocketTarget
      Flag, if figure is target for rockets.
      ItemInfo item
      The color used for painting shadow effects.
      int maxEnergy
      The energy maximum of this thing.
      java.lang.String name
      This figures name.
      int outerColor
      The color used for painting shadow effects.
      java.util.List<ItemInfo> permanentItems
      The permanent items of the figure..
      int pointBonus
      The point bonus for an enemy who kills this figure.
      int ramPower
      The power of this figure when ramming.
      int speed
      The speed of this thing.
    • Constructor Summary

      Constructors 
      Constructor Description
      FigureInfo()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Constructor Detail

      • FigureInfo

        public FigureInfo()