Searched refs:canMine (Results 1 – 6 of 6) sorted by relevance
772 if( sector->canMine((Id)i) && game_g->elements[i]->getType() != Element::GATHERABLE ) in doSectorAI()827 if( sector->canMine((Id)i) && game_g->elements[i]->getType() != Element::GATHERABLE ) { in doSectorAI()
423 bool canMine(Id id) const;
1248 bool Sector::canMine(Id id) const { in canMine() function in Sector1395 while( this->canMine((Id)i) && this->anyElements((Id)i) ) { in cheat()2617 ASSERT( n_miners == 0 || canMine(id) ); in setMiners()3336 if( this->canMine((Id)i) ) { in printDebugInfo()
4631 while( start_sector->canMine((Id)i) && start_sector->anyElements((Id)i) ) { in runTests()4786 while( start_sector->canMine((Id)i) && start_sector->anyElements((Id)i) ) { in runTests()
1161 bool can_mine = gamestate->getCurrentSector()->canMine( (Id)this->element_index[i] ); in refresh()
2982 if( sector->canMine(element) ) { in setNMiners()