Class Coords

java.lang.Object
blockly_robot.robot.logic.navigation.Coords
Direct Known Subclasses:
DirectionalCoords

public class Coords extends Object
Ein Punkt auf dem Gitter. Der Ursprung ist links oben (Reihe 0 und Spalte 0).
  • Field Details

    • col

      protected int col
    • row

      protected int row
  • Constructor Details

    • Coords

      public Coords(int row, int col)
  • Method Details

    • getRow

      public int getRow()
    • getCol

      public int getCol()
    • east

      public Coords east()
    • south

      public Coords south()
    • west

      public Coords west()
    • north

      public Coords north()
    • toString

      public String toString()
      Overrides:
      toString in class Object