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 TypeMethodDescriptionGets the current position of this, as a Coord.voidsetCoordPosition(Coord position) Sets the current position of this to the givenposition.
-
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
Sets the current position of this to the givenposition.- Parameters:
position- the new position for this object; may technically be null, but this should not usually be allowed
-