public class Game
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<Player> |
allies()
Returns a set of all the ally players that have not left or been defeated.
|
boolean |
canBuildHere(Unit builder,
TilePosition position,
UnitType type)
Returns true if the given unit type can be built at the given build tile position.
|
boolean |
canBuildHere(Unit builder,
TilePosition position,
UnitType type,
boolean checkExplored) |
boolean |
canMake(Unit builder,
UnitType type)
Returns true if the AI player has enough resources, supply, tech, and required units in order to
make the given unit type.
|
boolean |
canResearch(Unit unit,
TechType type)
Returns true if the AI player has enough resources required to research the given tech type.
|
boolean |
canUpgrade(Unit unit,
UpgradeType type)
Returns true if the AI player has enough resources required to upgrade the given upgrade type.
|
void |
drawBox(int ctype,
int left,
int top,
int right,
int bottom,
Color color)
Draws a box on the screen, with the given color.
|
void |
drawBox(int ctype,
int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
drawBoxMap(int left,
int top,
int right,
int bottom,
Color color) |
void |
drawBoxMap(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
drawBoxMouse(int left,
int top,
int right,
int bottom,
Color color) |
void |
drawBoxMouse(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color) |
void |
drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
drawCircle(int ctype,
int x,
int y,
int radius,
Color color)
Draws a circle on the screen, with the given color.
|
void |
drawCircle(int ctype,
int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
drawCircleMap(int x,
int y,
int radius,
Color color) |
void |
drawCircleMap(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
drawCircleMouse(int x,
int y,
int radius,
Color color) |
void |
drawCircleMouse(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
drawCircleScreen(int x,
int y,
int radius,
Color color) |
void |
drawCircleScreen(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
drawDot(int ctype,
int x,
int y,
Color color)
Draws a dot on the screen at the given position with the given color.
|
void |
drawDotMap(int x,
int y,
Color color) |
void |
drawDotMouse(int x,
int y,
Color color) |
void |
drawDotScreen(int x,
int y,
Color color) |
void |
drawEllipse(int ctype,
int x,
int y,
int xrad,
int yrad,
Color color)
Draws an ellipse on the screen, with the given color.
|
void |
drawEllipse(int ctype,
int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
drawEllipseMap(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
drawEllipseMap(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
drawEllipseMouse(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
drawEllipseMouse(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
drawEllipseScreen(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
drawEllipseScreen(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
drawLine(int ctype,
int x1,
int y1,
int x2,
int y2,
Color color)
Draws a line on the screen from (x1,y1) to (x2,y2) with the given color.
|
void |
drawLineMap(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
drawLineMouse(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
drawLineScreen(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
drawText(int ctype,
int x,
int y,
java.lang.String cstr_format)
Draws text on the screen at the given position.
|
void |
drawTextMap(int x,
int y,
java.lang.String cstr_format) |
void |
drawTextMouse(int x,
int y,
java.lang.String cstr_format) |
void |
drawTextScreen(int x,
int y,
java.lang.String cstr_format) |
void |
drawTriangle(int ctype,
int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color)
Draws a triangle on the screen.
|
void |
drawTriangle(int ctype,
int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
drawTriangleMap(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
drawTriangleMap(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
drawTriangleMouse(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
drawTriangleMouse(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
drawTriangleScreen(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
drawTriangleScreen(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
enableFlag(int flag)
Enables the specified flag.
|
java.util.List<Player> |
enemies()
Returns a set of all the enemy players that have not left or been defeated.
|
Player |
enemy()
Returns a pointer to the enemy player.
|
java.util.List<Unit> |
getAllUnits()
Returns all the visible units.
|
int |
getAPM()
Retrieves the instance number recorded by BWAPI to identify which instance an AI module belongs to
|
int |
getAPM(boolean includeSelects) |
double |
getAverageFPS() |
java.util.List<Bullet> |
getBullets()
Returns all visible bullets.
|
Force |
getForce(int forceID)
Returns the list of events
|
java.util.List<Force> |
getForces()
Returns the set of all forces in the match.
|
int |
getFPS()
Returns the Frames Per Second (FPS) that the game is currently running at
|
int |
getFrameCount()
Returns the number of logical frames since the match started.
|
GameType |
getGameType()
Returns the game type
|
java.util.List<Unit> |
getGeysers()
Returns the set of all accessible vespene geysers.
|
boolean |
getKeyState(int key)
Returns true if the specified key is pressed.
|
boolean |
getKeyState(Key key)
Returns true if the specified key is pressed.
|
Error |
getLastError()
Returns the last error that was set.
|
int |
getLastEventTime()
Returns the time taken to perform the previous event call.
|
int |
getLatency()
Returns the amount of latency the current game has.
|
int |
getLatencyFrames()
Retrieves latency values for the game.
|
int |
getLatencyTime() |
java.util.List<Unit> |
getMinerals()
Returns the set of all accessible mineral patches.
|
Position |
getMousePosition()
Returns the position of the mouse on the screen.
|
boolean |
getMouseState(int button)
Returns true if the specified mouse button is pressed.
|
boolean |
getMouseState(MouseButton button)
Returns true if the specified mouse button is pressed.
|
java.util.List<Unit> |
getNeutralUnits()
Returns the set of all accessible neutral units.
|
java.util.List<Position> |
getNukeDots()
Returns all visible nuke dots.
|
Player |
getPlayer(int playerID)
Returns the player with the given ID, or NULL if no player has the given ID
|
java.util.List<Player> |
getPlayers()
Returns the set of all players in the match.
|
Region |
getRegion(int regionID)
Returns the Region with the given ID, or NULL if no region has the given ID
|
Region |
getRegionAt(int x,
int y)
Returns the remaining countdown time in seconds.
|
Region |
getRegionAt(Position position) |
int |
getRemainingLatencyFrames() |
int |
getRemainingLatencyTime() |
int |
getReplayFrameCount()
Retrieves the number of frames in the replay
|
int |
getRevision()
Retrieves the current revision of BWAPI.
|
void |
getScreenBuffer()
Retrieves the screen buffer for the game (excluding the HUD)
|
Position |
getScreenPosition()
Returns the position of the top left corner of the screen on the map.
|
java.util.List<Unit> |
getSelectedUnits()
Returns the set of units currently selected by the user in the GUI.
|
java.util.List<TilePosition> |
getStartLocations()
Returns the set of starting locations for the given map.
|
java.util.List<Unit> |
getStaticGeysers()
Returns the set of all vespene geysers (including mined out and other inaccessible ones).
|
java.util.List<Unit> |
getStaticMinerals()
Returns the set of all mineral patches (including mined out and other inaccessible ones).
|
java.util.List<Unit> |
getStaticNeutralUnits()
Returns the set of all neutral units (including mined out and other inaccessible ones).
|
Unit |
getUnit(int unitID)
Returns the unit with the given ID, or NULL if no unit has the given ID
|
java.util.List<Unit> |
getUnitsInRadius(Position center,
int radius)
Returns the set of accessible units within or overlapping a circle at the given point with the given radius.
|
java.util.List<Unit> |
getUnitsInRectangle(int left,
int top,
int right,
int bottom)
Returns the set of accessible units that are in or overlapping the given rectangle.
|
java.util.List<Unit> |
getUnitsInRectangle(Position topLeft,
Position bottomRight) |
java.util.List<Unit> |
getUnitsOnTile(int tileX,
int tileY)
Returns the set of accessible units that are on the given build tile.
|
boolean |
hasCreep(int tileX,
int tileY)
Returns true if the specified build tile has zerg creep on it.
|
boolean |
hasCreep(TilePosition position)
Returns true if the specified build tile has zerg creep on it.
|
boolean |
hasPath(Position source,
Position destination)
Returns true if Starcraft can find a path from the source to the destination.
|
boolean |
hasPower(int tileX,
int tileY)
Returns true if the given build location is powered by a nearby friendly pylon.
|
boolean |
hasPower(int tileX,
int tileY,
int tileWidth,
int tileHeight)
Returns true if the given build location is powered by a nearby friendly pylon.
|
boolean |
hasPower(int tileX,
int tileY,
int tileWidth,
int tileHeight,
UnitType unitType) |
boolean |
hasPower(int tileX,
int tileY,
UnitType unitType) |
boolean |
hasPower(TilePosition position)
Returns true if the given build location is powered by a nearby friendly pylon.
|
boolean |
hasPower(TilePosition position,
int tileWidth,
int tileHeight)
Returns true if the given build location is powered by a nearby friendly pylon.
|
boolean |
hasPower(TilePosition position,
int tileWidth,
int tileHeight,
UnitType unitType) |
boolean |
hasPower(TilePosition position,
UnitType unitType) |
boolean |
hasPowerPrecise(int x,
int y)
Returns true if the given pixel location is powered by a nearby friendly pylon.
|
boolean |
hasPowerPrecise(int x,
int y,
UnitType unitType) |
boolean |
hasPowerPrecise(Position position)
Returns true if the given pixel location is powered by a nearby friendly pylon.
|
boolean |
hasPowerPrecise(Position position,
UnitType unitType) |
void |
changeRace(Race race)
Used to change the race while in a lobby.
|
Unit |
indexToUnit(int unitIndex)
Returns a pointer to a Unit given an index.
|
boolean |
isBattleNet()
Returns true if Broodwar is in a BNet multiplayer game.
|
boolean |
isBuildable(int tileX,
int tileY)
Returns the ground height of the given build tile. 0 = normal, 1 = high ground. 2 = very high ground.
|
boolean |
isBuildable(int tileX,
int tileY,
boolean includeBuildings) |
boolean |
isBuildable(TilePosition position)
Returns the ground height of the given build tile. 0 = normal, 1 = high ground. 2 = very high ground.
|
boolean |
isBuildable(TilePosition position,
boolean includeBuildings) |
boolean |
isDebug()
Retrieves the debug state of the BWAPI build.
|
boolean |
isExplored(int tileX,
int tileY)
Returns true if the specified build tile has been explored (i.e. was visible at some point in the
match).
|
boolean |
isExplored(TilePosition position)
Returns true if the specified build tile has been explored (i.e. was visible at some point in the
match).
|
boolean |
isFlagEnabled(int flag)
Returns true if the given flag has been enabled.
|
boolean |
isInGame()
Returns true if Broodwar is in a game.
|
boolean |
isLatComEnabled()
Returns true if latency compensation is enabled
|
boolean |
isMultiplayer()
Returns true if Broodwar is in a multiplayer game.
|
boolean |
isPaused()
Returns true if Broodwar is paused.
|
boolean |
isReplay()
Returns true if Broodwar is in a replay.
|
boolean |
issueCommand(java.util.List<Unit> units,
UnitCommand command)
Issues a command to a group of units
|
boolean |
isVisible(int tileX,
int tileY)
Returns true if the specified build tile is visible.
|
boolean |
isVisible(TilePosition position)
Returns true if the specified build tile is visible.
|
boolean |
isWalkable(int walkX,
int walkY)
Returns true if the specified walk tile is walkable.
|
void |
leaveGame()
Leaves the current match and goes to the after-game stats screen.
|
java.lang.String |
mapFileName()
Returns the file name of the current map.
|
java.lang.String |
mapHash()
Returns the SHA-1 hash of the map file.
|
int |
mapHeight()
Returns the height of the current map, in build tile units.
|
java.lang.String |
mapName()
Returns the name/title of the current map.
|
java.lang.String |
mapPathName()
Returns the full path name of the current map.
|
int |
mapWidth()
Returns the width of the current map, in build tile units.
|
Player |
neutral()
Returns a pointer to the neutral player.
|
java.util.List<Player> |
observers()
Returns a set of all the observer players that have not left.
|
void |
pauseGame()
Pauses the game.
|
void |
pingMinimap(int x,
int y)
Pings the given position on the minimap.
|
void |
pingMinimap(Position p)
Pings the given position on the minimap.
|
void |
printf(java.lang.String cstr_format)
Prints text on the screen.
|
void |
restartGame()
Restarts the match.
|
void |
resumeGame()
Resumes the game.
|
Player |
self()
Returns a pointer to the player that BWAPI controls.
|
void |
sendText(java.lang.String cstr_format)
Sends text to other players - as if it were entered in chat.
|
void |
sendTextEx(boolean toAllies,
java.lang.String cstr_format) |
boolean |
setAlliance(Player player) |
boolean |
setAlliance(Player player,
boolean allied)
Sets the BWAPI player's alliance with another player.
|
boolean |
setAlliance(Player player,
boolean allied,
boolean alliedVictory) |
void |
setCommandOptimizationLevel()
Returns the elapsed game time in seconds.
|
void |
setCommandOptimizationLevel(int level) |
void |
setFrameSkip()
Sets the frame skip value. 1 = normal
|
void |
setFrameSkip(int frameSkip) |
void |
setGUI()
Sets the rendering state of the Starcraft GUI
|
void |
setGUI(boolean enabled) |
boolean |
setLastError(Error e)
Sets the last error code.
|
void |
setLatCom(boolean isEnabled)
Use to enable or disable latency compensation.
|
void |
setLocalSpeed()
Sets the speed of the game to the given number.
|
void |
setLocalSpeed(int speed) |
boolean |
setMap(java.lang.String cstr_mapFileName)
Changes the map to the one specified.
|
boolean |
setReplayVision(Player player)
Hides or reveals a player in a replay.
|
boolean |
setReplayVision(Player player,
boolean enabled) |
boolean |
setRevealAll()
Enables or disables the Fog of War in a replay.
|
boolean |
setRevealAll(boolean reveal) |
void |
setScreenPosition(int x,
int y)
Moves the screen to the given position on the map.
|
void |
setScreenPosition(Position p)
Moves the screen to the given position on the map.
|
void |
setTextSize() |
void |
setTextSize(int size) |
boolean |
setVision(Player player)
Sets the BWAPI player's vision with another player.
|
boolean |
setVision(Player player,
boolean enabled) |
void |
startGame()
Used to start the game while in a lobby.
|
public java.util.List<Force> getForces()
public java.util.List<Player> getPlayers()
public java.util.List<Unit> getAllUnits()
public java.util.List<Unit> getMinerals()
public java.util.List<Unit> getGeysers()
public java.util.List<Unit> getNeutralUnits()
public java.util.List<Unit> getStaticMinerals()
public java.util.List<Unit> getStaticGeysers()
public java.util.List<Unit> getStaticNeutralUnits()
public java.util.List<Bullet> getBullets()
public java.util.List<Position> getNukeDots()
public Force getForce(int forceID)
public Player getPlayer(int playerID)
public Unit getUnit(int unitID)
public Unit indexToUnit(int unitIndex)
public Region getRegion(int regionID)
public GameType getGameType()
public int getLatency()
public int getFrameCount()
public int getFPS()
public double getAverageFPS()
public Position getMousePosition()
public boolean getMouseState(MouseButton button)
public boolean getMouseState(int button)
public boolean getKeyState(Key key)
public boolean getKeyState(int key)
public Position getScreenPosition()
public void setScreenPosition(int x, int y)
public void setScreenPosition(Position p)
public void pingMinimap(int x, int y)
public void pingMinimap(Position p)
public boolean isFlagEnabled(int flag)
public void enableFlag(int flag)
public java.util.List<Unit> getUnitsOnTile(int tileX, int tileY)
public java.util.List<Unit> getUnitsInRectangle(int left, int top, int right, int bottom)
public java.util.List<Unit> getUnitsInRectangle(Position topLeft, Position bottomRight)
public java.util.List<Unit> getUnitsInRadius(Position center, int radius)
public Error getLastError()
public boolean setLastError(Error e)
public int mapWidth()
public int mapHeight()
public java.lang.String mapFileName()
public java.lang.String mapPathName()
public java.lang.String mapName()
public java.lang.String mapHash()
public boolean isWalkable(int walkX, int walkY)
public boolean isBuildable(int tileX, int tileY)
public boolean isBuildable(int tileX, int tileY, boolean includeBuildings)
public boolean isBuildable(TilePosition position)
public boolean isBuildable(TilePosition position, boolean includeBuildings)
public boolean isVisible(int tileX, int tileY)
public boolean isVisible(TilePosition position)
public boolean isExplored(int tileX, int tileY)
public boolean isExplored(TilePosition position)
public boolean hasCreep(int tileX, int tileY)
public boolean hasCreep(TilePosition position)
public boolean hasPower(int tileX, int tileY)
public boolean hasPower(int tileX, int tileY, UnitType unitType)
public boolean hasPower(TilePosition position)
public boolean hasPower(TilePosition position, UnitType unitType)
public boolean hasPower(int tileX, int tileY, int tileWidth, int tileHeight)
public boolean hasPower(int tileX, int tileY, int tileWidth, int tileHeight, UnitType unitType)
public boolean hasPower(TilePosition position, int tileWidth, int tileHeight)
public boolean hasPower(TilePosition position, int tileWidth, int tileHeight, UnitType unitType)
public boolean hasPowerPrecise(int x, int y)
public boolean hasPowerPrecise(int x, int y, UnitType unitType)
public boolean hasPowerPrecise(Position position)
public boolean canBuildHere(Unit builder, TilePosition position, UnitType type)
public boolean canBuildHere(Unit builder, TilePosition position, UnitType type, boolean checkExplored)
public boolean canMake(Unit builder, UnitType type)
public boolean canResearch(Unit unit, TechType type)
public boolean canUpgrade(Unit unit, UpgradeType type)
public java.util.List<TilePosition> getStartLocations()
public void printf(java.lang.String cstr_format)
public void sendText(java.lang.String cstr_format)
public void sendTextEx(boolean toAllies, java.lang.String cstr_format)
public void changeRace(Race race)
public boolean isInGame()
public boolean isMultiplayer()
public boolean isBattleNet()
public boolean isPaused()
public boolean isReplay()
public void startGame()
public void pauseGame()
public void resumeGame()
public void leaveGame()
public void restartGame()
public void setLocalSpeed()
public void setLocalSpeed(int speed)
public boolean issueCommand(java.util.List<Unit> units, UnitCommand command)
public java.util.List<Unit> getSelectedUnits()
public Player self()
public Player enemy()
public Player neutral()
public java.util.List<Player> allies()
public java.util.List<Player> enemies()
public java.util.List<Player> observers()
public void setTextSize()
public void setTextSize(int size)
public void drawText(int ctype, int x, int y, java.lang.String cstr_format)
public void drawTextMap(int x, int y, java.lang.String cstr_format)
public void drawTextMouse(int x, int y, java.lang.String cstr_format)
public void drawTextScreen(int x, int y, java.lang.String cstr_format)
public void drawBox(int ctype, int left, int top, int right, int bottom, Color color)
public void drawBox(int ctype, int left, int top, int right, int bottom, Color color, boolean isSolid)
public void drawBoxMap(int left, int top, int right, int bottom, Color color)
public void drawBoxMap(int left, int top, int right, int bottom, Color color, boolean isSolid)
public void drawBoxMouse(int left, int top, int right, int bottom, Color color)
public void drawBoxMouse(int left, int top, int right, int bottom, Color color, boolean isSolid)
public void drawBoxScreen(int left, int top, int right, int bottom, Color color)
public void drawBoxScreen(int left, int top, int right, int bottom, Color color, boolean isSolid)
public void drawTriangle(int ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color)
public void drawTriangle(int ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color, boolean isSolid)
public void drawTriangleMap(int ax, int ay, int bx, int by, int cx, int cy, Color color)
public void drawTriangleMap(int ax, int ay, int bx, int by, int cx, int cy, Color color, boolean isSolid)
public void drawTriangleMouse(int ax, int ay, int bx, int by, int cx, int cy, Color color)
public void drawTriangleMouse(int ax, int ay, int bx, int by, int cx, int cy, Color color, boolean isSolid)
public void drawTriangleScreen(int ax, int ay, int bx, int by, int cx, int cy, Color color)
public void drawTriangleScreen(int ax, int ay, int bx, int by, int cx, int cy, Color color, boolean isSolid)
public void drawCircle(int ctype, int x, int y, int radius, Color color)
public void drawCircle(int ctype, int x, int y, int radius, Color color, boolean isSolid)
public void drawCircleMap(int x, int y, int radius, Color color)
public void drawCircleMap(int x, int y, int radius, Color color, boolean isSolid)
public void drawCircleMouse(int x, int y, int radius, Color color)
public void drawCircleMouse(int x, int y, int radius, Color color, boolean isSolid)
public void drawCircleScreen(int x, int y, int radius, Color color)
public void drawCircleScreen(int x, int y, int radius, Color color, boolean isSolid)
public void drawEllipse(int ctype, int x, int y, int xrad, int yrad, Color color)
public void drawEllipse(int ctype, int x, int y, int xrad, int yrad, Color color, boolean isSolid)
public void drawEllipseMap(int x, int y, int xrad, int yrad, Color color)
public void drawEllipseMap(int x, int y, int xrad, int yrad, Color color, boolean isSolid)
public void drawEllipseMouse(int x, int y, int xrad, int yrad, Color color)
public void drawEllipseMouse(int x, int y, int xrad, int yrad, Color color, boolean isSolid)
public void drawEllipseScreen(int x, int y, int xrad, int yrad, Color color)
public void drawEllipseScreen(int x, int y, int xrad, int yrad, Color color, boolean isSolid)
public void drawDot(int ctype, int x, int y, Color color)
public void drawDotMap(int x, int y, Color color)
public void drawDotMouse(int x, int y, Color color)
public void drawDotScreen(int x, int y, Color color)
public void drawLine(int ctype, int x1, int y1, int x2, int y2, Color color)
public void drawLineMap(int x1, int y1, int x2, int y2, Color color)
public void drawLineMouse(int x1, int y1, int x2, int y2, Color color)
public void drawLineScreen(int x1, int y1, int x2, int y2, Color color)
public void getScreenBuffer()
public int getLatencyFrames()
public int getLatencyTime()
public int getRemainingLatencyFrames()
public int getRemainingLatencyTime()
public int getRevision()
public boolean isDebug()
public boolean isLatComEnabled()
public void setLatCom(boolean isEnabled)
public int getReplayFrameCount()
public void setGUI()
public void setGUI(boolean enabled)
public int getAPM()
public int getAPM(boolean includeSelects)
public boolean setMap(java.lang.String cstr_mapFileName)
public void setFrameSkip()
public void setFrameSkip(int frameSkip)
public boolean hasPath(Position source, Position destination)
public boolean setAlliance(Player player, boolean allied)
public boolean setAlliance(Player player)
public boolean setAlliance(Player player, boolean allied, boolean alliedVictory)
public boolean setVision(Player player)
public boolean setVision(Player player, boolean enabled)
public void setCommandOptimizationLevel()
public void setCommandOptimizationLevel(int level)
public Region getRegionAt(int x, int y)
public int getLastEventTime()
public boolean setReplayVision(Player player)
public boolean setReplayVision(Player player, boolean enabled)
public boolean setRevealAll()
public boolean setRevealAll(boolean reveal)