JBWAPI 1.4
BWAPI/BWMirror compatibility
- support printing colored text using varargs
game.drawTextScreen(50, 50, "%cHello %cWorld!", Text.Red, Text.Green);
- points can now also be constructed using other pointtypes (BWAPI style), the
p.toXPosition()
methods will always stay available (BWMirror style)
TilePosition tp = new TilePosition(20, 12);
Position p = new Position(tp);
bwapi.Color
now has an implementedtoString
method displaying which color is being used in case of a standard bwapi color. Else it displays the custom RGB values.
BWEM/BWTA
- methods
getTile
,getCenter
andgetStartingLocations
now directly available from BWMap instead of needing to usegetData()
or evengetData().getMapData()
- marked BWTA as deprecated instead of writing a warning to
stderr
(fixes bots using BWTA hanging at start if launched by the Tournament manager)
Fixes
bwapi.Text
colorTurquoise
fixed (was displaying yellow)