Package zombie.erosion.categories
Class ErosionCategory
java.lang.Object
zombie.erosion.categories.ErosionCategory
- Direct Known Subclasses:
Flowerbed
,NatureBush
,NatureGeneric
,NaturePlants
,NatureTrees
,StreetCracks
,WallCracks
,WallVines
public abstract class ErosionCategory
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ErosionCategory.Data
protected class
ErosionCategory.SeasonDisplay
-
Field Summary
Fields Modifier and Type Field Description int
ID
ErosionRegions.Region
region
protected ErosionCategory.SeasonDisplay[]
seasonDisp
-
Constructor Summary
Constructors Constructor Description ErosionCategory()
-
Method Summary
Modifier and Type Method Description protected abstract ErosionCategory.Data
allocData()
protected void
clearCatModData(ErosionData.Square _sqErosionData)
protected float
clerp(float _t, float _a, float _b)
protected boolean
currentBloom(float _magicNum, ErosionObj _gameObj)
protected int
currentSeason(float _magicNum, ErosionObj _gameObj)
protected ErosionCategory.Data
getCatModData(ErosionData.Square _sqErosionData)
abstract void
init()
static ErosionCategory.Data
loadCategoryData(java.nio.ByteBuffer input, int WorldVersion)
abstract boolean
replaceExistingObject(IsoGridSquare square, ErosionData.Square square2, ErosionData.Chunk chunk, boolean boolean1, boolean boolean2)
protected ErosionCategory.Data
setCatModData(ErosionData.Square _sqErosionData)
abstract void
update(IsoGridSquare square, ErosionData.Square square2, ErosionCategory.Data data, ErosionData.Chunk chunk, int int1)
void
updateObj(ErosionData.Square _sqErosionData, ErosionCategory.Data _sqCategoryData, IsoGridSquare _sq, ErosionObj _gameObj, boolean _bTree, int _stage, int _dispSeason, boolean _bloom)
abstract boolean
validateSpawn(IsoGridSquare square, ErosionData.Square square2, ErosionData.Chunk chunk, boolean boolean1, boolean boolean2, boolean boolean3)
protected IsoObject
validWall(IsoGridSquare _sq, boolean _north, boolean _doWindow)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ID
public int ID -
region
-
seasonDisp
-
-
Constructor Details
-
ErosionCategory
public ErosionCategory()
-
-
Method Details
-
getCatModData
-
setCatModData
-
validWall
-
clerp
protected float clerp(float _t, float _a, float _b) -
currentSeason
-
currentBloom
-
updateObj
public void updateObj(ErosionData.Square _sqErosionData, ErosionCategory.Data _sqCategoryData, IsoGridSquare _sq, ErosionObj _gameObj, boolean _bTree, int _stage, int _dispSeason, boolean _bloom) -
clearCatModData
-
init
public abstract void init() -
replaceExistingObject
public abstract boolean replaceExistingObject(IsoGridSquare square, ErosionData.Square square2, ErosionData.Chunk chunk, boolean boolean1, boolean boolean2) -
validateSpawn
public abstract boolean validateSpawn(IsoGridSquare square, ErosionData.Square square2, ErosionData.Chunk chunk, boolean boolean1, boolean boolean2, boolean boolean3) -
update
public abstract void update(IsoGridSquare square, ErosionData.Square square2, ErosionCategory.Data data, ErosionData.Chunk chunk, int int1) -
allocData
-
loadCategoryData
-