Schnittstelle IntPosition

Alle bekannten Implementierungsklassen:
IntPoint, Shot

public interface IntPosition
Interface representing a position with X and Y coordinates.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Returns the X coordinate of this position.
    int
    Returns the Y coordinate of this position.
  • Methodendetails

    • getX

      int getX()
      Returns the X coordinate of this position.
      Gibt zurück:
      the X coordinate.
    • getY

      int getY()
      Returns the Y coordinate of this position.
      Gibt zurück:
      the Y coordinate.