google-code-export / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

Error code for Position off map #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add an error code that gets set when the user tries to issue a command with
a position that is outside the map, like Position(9000,9000), or
Positions::Unknown.

Or perhaps bound the position to the map (so if it is off map, it just uses
the closest valid position).

Original issue reported on code.google.com by lowerlo...@gmail.com on 29 Nov 2009 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by lowerlo...@gmail.com on 29 Nov 2009 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 28 Jan 2010 at 9:53

GoogleCodeExporter commented 9 years ago

Original comment by lowerlo...@gmail.com on 23 Jun 2010 at 3:51

GoogleCodeExporter commented 9 years ago
In BWAPI Beta 3.0.3 this is handled by making the position valid (on the map) 
before issuing the command.

Original comment by lowerlo...@gmail.com on 25 Jul 2010 at 3:36