--------------------------------------------- SET LAST ERROR ---------------------------------------------
| 72 | } |
| 73 | //--------------------------------------------- SET LAST ERROR --------------------------------------------- |
| 74 | bool GameImpl::setLastError(BWAPI::Error e) const |
| 75 | { |
| 76 | // implies that an error has occured |
| 77 | lastError = e; |
| 78 | return e == Errors::None; |
| 79 | } |
| 80 | //--------------------------------------------- CAN BUILD HERE --------------------------------------------- |
| 81 | bool GameImpl::canBuildHere(TilePosition position, UnitType type, Unit builder, bool checkExplored) |
| 82 | { |
no outgoing calls
no test coverage detected