Package zombie.erosion.obj
Class ErosionObj
java.lang.Object
zombie.erosion.obj.ErosionObj
public class ErosionObj
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
bloomEnd
float
bloomStart
int
cycleTime
boolean
hasChildSprite
boolean
hasFlower
boolean
hasSnow
java.lang.String
name
boolean
noSeasonBase
int
stages
-
Constructor Summary
Constructors Constructor Description ErosionObj(ErosionObjSprites _sprites, int _cycleTime, float _bloomstart, float _bloomend, boolean _noSeasonBase)
-
Method Summary
Modifier and Type Method Description IsoObject
createObject(IsoGridSquare _sq, int _stage, boolean _bTree, int _season)
IsoObject
getObject(IsoGridSquare _sq, boolean _bRemove)
boolean
placeObject(IsoGridSquare _sq, int _stage, boolean _bTree, int _season, boolean _bloom)
IsoObject
removeObject(IsoGridSquare _sq)
boolean
setStage(IsoGridSquare _sq, int _stage, int _season, boolean _bloom)
boolean
setStageObject(int _stage, IsoObject _object, int _season, boolean _bloom)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
public java.lang.String name -
stages
public int stages -
hasSnow
public boolean hasSnow -
hasFlower
public boolean hasFlower -
hasChildSprite
public boolean hasChildSprite -
bloomStart
public float bloomStart -
bloomEnd
public float bloomEnd -
noSeasonBase
public boolean noSeasonBase -
cycleTime
public int cycleTime
-
-
Constructor Details
-
ErosionObj
public ErosionObj(ErosionObjSprites _sprites, int _cycleTime, float _bloomstart, float _bloomend, boolean _noSeasonBase)
-
-
Method Details
-
getObject
-
createObject
-
placeObject
public boolean placeObject(IsoGridSquare _sq, int _stage, boolean _bTree, int _season, boolean _bloom) -
setStageObject
-
setStage
-
removeObject
-