mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
cleaned up statistics screen
This commit is contained in:
@@ -114,6 +114,11 @@ namespace battleship{
|
||||
units.erase(units.begin() + id);
|
||||
}
|
||||
|
||||
void Player::removeResourceDeposit(int id){
|
||||
delete resourceDeposits[id];
|
||||
resourceDeposits.erase(resourceDeposits.begin() + id);
|
||||
}
|
||||
|
||||
vector<Unit*> Player::getSelectedUnitsByClass(UnitClass uc){
|
||||
vector<Unit*> selectedUnits = getSelectedUnits(), unitsByClass;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user