# Field Grid System ## Grid Layout 12x12 cells, each 12" x 12": ``` 0 1 2 3 4 5 6 7 8 9 10 11 11 . . . . . . . . . . . B 10 . . . . . . . . . . . . 9 . . . . . . . . . . . . 8 . . . . . . . . . . . . 7 . . . . . . . . . . . . 6 . . . . . X . . . . . . 5 . . . . . . . . . . . . 4 . . . . . . . . . . . . 3 . . . . . . . . . . . . 2 . . . . . . . . . . . . 1 . . . . . . . . . . . . 0 R . . . . . . . . . . . R = Red backstage (0,0) B = Blue backstage (11,11) X = Center (6,6) ``` ## Usage ```java GridCell cell = new GridCell(5, 7); double dist = cell.distanceTo(FieldGrid.CENTER); double angle = cell.angleTo(FieldGrid.BLUE_BACKSTAGE); ``` ## Common Locations ```java FieldGrid.RED_BACKSTAGE // (0, 0) FieldGrid.BLUE_BACKSTAGE // (11, 11) FieldGrid.CENTER // (6, 6) ```