
Public Member Functions | |
| List< Point > | createPath (final TerrainMap map) |
| Creates the path to the goal. | |
This is a sample AI that moves as far horizontally as necessary to reach the target, then as far vertically as necessary to reach the target. It is intended primarily as a demonstration of the various pieces of the program.
Definition at line 14 of file StupidAI.java.
| List<Point> StupidAI.createPath | ( | final TerrainMap | map | ) |
1.5.8