zloop1982 / bwapi

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

Add setAlliance, setVision #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add the following functions to Game::

void Game::setAlliance(BWAPI::Player player, bool allied);
void Game::setVision(BWAPI::Player player, bool vision);
void Game::setAlliedVictory(bool alliedVictory);

Original issue reported on code.google.com by AHeinerm on 27 Feb 2011 at 8:16

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 24 Apr 2011 at 7:34

GoogleCodeExporter commented 9 years ago
Change that to

void Game::setAlliance(BWAPI::Player player, bool allied = true, bool 
alliedVictory = false);
void Game::setVision(BWAPI::Player player, bool vision = true);

Original comment by AHeinerm on 26 Apr 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Added in r3668.

Original comment by AHeinerm on 26 Apr 2011 at 9:47