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 square)
protected float
clerp(float float1, float float2, float float3)
protected boolean
currentBloom(float float1, ErosionObj erosionObj)
protected int
currentSeason(float float1, ErosionObj erosionObj)
protected ErosionCategory.Data
getCatModData(ErosionData.Square square)
abstract void
init()
static ErosionCategory.Data
loadCategoryData(java.nio.ByteBuffer byteBuffer, int int1)
abstract boolean
replaceExistingObject(IsoGridSquare square, ErosionData.Square square2, ErosionData.Chunk chunk, boolean boolean1, boolean boolean2)
protected ErosionCategory.Data
setCatModData(ErosionData.Square square)
abstract void
update(IsoGridSquare square, ErosionData.Square square2, ErosionCategory.Data data, ErosionData.Chunk chunk, int int1)
void
updateObj(ErosionData.Square square, ErosionCategory.Data data, IsoGridSquare square2, ErosionObj erosionObj, boolean boolean1, int int1, int int2, boolean boolean2)
abstract boolean
validateSpawn(IsoGridSquare square, ErosionData.Square square2, ErosionData.Chunk chunk, boolean boolean1, boolean boolean2, boolean boolean3)
protected IsoObject
validWall(IsoGridSquare square, boolean boolean1, boolean boolean2)
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 float1, float float2, float float3) -
currentSeason
-
currentBloom
-
updateObj
public void updateObj(ErosionData.Square square, ErosionCategory.Data data, IsoGridSquare square2, ErosionObj erosionObj, boolean boolean1, int int1, int int2, boolean boolean2) -
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
-