Class HexGrid.HexGridEditor

All Implemented Interfaces:
KeyListener, MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
Enclosing class:
HexGrid

public static class HexGrid.HexGridEditor extends GridEditor
See Also:
  • Constructor Details

  • Method Details

    • calculate

      public void calculate()
      Specified by:
      calculate in class GridEditor
    • calculate_step2

      protected void calculate_step2(Point p1, Point p2, Point p3)
    • reverse

      protected Point reverse(Point p)
    • check

      protected void check(boolean sideways, Point p1, Point p2, Point p3)
    • checkEnd

      protected void checkEnd(boolean sideways, Point p1, Point p2, Point p3)
    • setMetrics

      protected void setMetrics(int width, int height, int xoff, int yoff, boolean b)