Class BuildingID
java.lang.Object
zombie.iso.BuildingID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetCellX(long ID) static intgetCellY(long ID) static intgetIndex(long ID) static booleanisSameCell(long ID, int cellX, int cellY) static longmakeID(int cellX, int cellY, int buildingIndex)
-
Constructor Details
-
BuildingID
public BuildingID()
-
-
Method Details
-
makeID
public static long makeID(int cellX, int cellY, int buildingIndex) -
getCellX
public static int getCellX(long ID) -
getCellY
public static int getCellY(long ID) -
getIndex
public static int getIndex(long ID) -
isSameCell
public static boolean isSameCell(long ID, int cellX, int cellY)
-