Class Selector

java.lang.Object
engine.terrain.Selector

public class Selector extends Object
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 Details

    • Selector

      public Selector(int gridX, int gridZ, Loader loader, TextureAttribute texture)
      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

      public RawModel getModel()
    • getTexture

      public TextureAttribute getTexture()