Package engine.terrain
Class ZoneTile
java.lang.Object
engine.terrain.ZoneTile
TODO Parent class of this and terrain so that code is not copied
Selector Object which is the square which appears when hovering over a cell.
-
Constructor Summary
ConstructorsConstructorDescriptionZoneTile
(int gridX, int gridZ, Loader loader, TextureAttribute texture) Sets the position and texture and then generates the model for the selector. -
Method Summary
-
Constructor Details
-
ZoneTile
Sets the position and texture and then generates the model for the selector.- Parameters:
gridX
-gridZ
-loader
-texture
-
-
-
Method Details
-
getSize
public static float getSize() -
setX
public void setX(float x) -
setZ
public void setZ(float z) -
getX
public float getX() -
getZ
public float getZ() -
getModel
-
getTexture
-