Interface IGridPositioned

All Known Subinterfaces:
IGridIdentified

public interface IGridPositioned
Allows getting and setting the position of an object, as a Coord.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the current position of this, as a Coord.
    void
    Sets the current position of this to the given position.
  • Method Details

    • getCoordPosition

      Coord getCoordPosition()
      Gets the current position of this, as a Coord.
      Returns:
      the Coord position of this object; may technically be null, but this should not usually be allowed
    • setCoordPosition

      void setCoordPosition(Coord position)
      Sets the current position of this to the given position.
      Parameters:
      position - the new position for this object; may technically be null, but this should not usually be allowed