Package zombie.erosion.obj
Class ErosionObjSprites
java.lang.Object
zombie.erosion.obj.ErosionObjSprites
public class ErosionObjSprites
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int
cycleTime
boolean
hasChildSprite
boolean
hasFlower
boolean
hasSnow
java.lang.String
name
boolean
noSeasonBase
static int
NUM_SECTIONS
static int
SECTION_BASE
static int
SECTION_CHILD
static int
SECTION_FLOWER
static int
SECTION_SNOW
int
stages
-
Constructor Summary
Constructors Constructor Description ErosionObjSprites(int _stages, java.lang.String _name, boolean _hasSnow, boolean _hasFlower, boolean _hasChildsprite)
-
Method Summary
Modifier and Type Method Description java.lang.String
getBase(int _stage, int _season)
java.lang.String
getChildSprite(int _stage, int _season)
java.lang.String
getFlower(int _stage)
void
setBase(int _stage, java.lang.String _sprite, int _season)
void
setBase(int _stage, java.util.ArrayList _sprites, int _season)
void
setChildSprite(int _stage, java.lang.String _sprite, int _season)
void
setChildSprite(int _stage, java.util.ArrayList _sprites, int _season)
void
setFlower(int _stage, java.lang.String _sprite)
void
setFlower(int _stage, java.util.ArrayList _sprites)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SECTION_BASE
public static final int SECTION_BASE- See Also:
- Constant Field Values
-
SECTION_SNOW
public static final int SECTION_SNOW- See Also:
- Constant Field Values
-
SECTION_FLOWER
public static final int SECTION_FLOWER- See Also:
- Constant Field Values
-
SECTION_CHILD
public static final int SECTION_CHILD- See Also:
- Constant Field Values
-
NUM_SECTIONS
public static final int NUM_SECTIONS- See Also:
- Constant Field Values
-
name
public java.lang.String name -
stages
public int stages -
hasSnow
public boolean hasSnow -
hasFlower
public boolean hasFlower -
hasChildSprite
public boolean hasChildSprite -
noSeasonBase
public boolean noSeasonBase -
cycleTime
public int cycleTime
-
-
Constructor Details
-
ErosionObjSprites
public ErosionObjSprites(int _stages, java.lang.String _name, boolean _hasSnow, boolean _hasFlower, boolean _hasChildsprite)
-
-
Method Details
-
getBase
public java.lang.String getBase(int _stage, int _season) -
getFlower
public java.lang.String getFlower(int _stage) -
getChildSprite
public java.lang.String getChildSprite(int _stage, int _season) -
setBase
public void setBase(int _stage, java.lang.String _sprite, int _season) -
setBase
public void setBase(int _stage, java.util.ArrayList _sprites, int _season) -
setFlower
public void setFlower(int _stage, java.lang.String _sprite) -
setFlower
public void setFlower(int _stage, java.util.ArrayList _sprites) -
setChildSprite
public void setChildSprite(int _stage, java.lang.String _sprite, int _season) -
setChildSprite
public void setChildSprite(int _stage, java.util.ArrayList _sprites, int _season)
-