Erwan
- removed some unused code. Please review! - Added protection from() auto keyword. It is still possible to use protection from [color] in abilities, but when it is not possible, please use protection from([target]) in auto=
This commit is contained in:
@@ -52,10 +52,6 @@ GameObserver::GameObserver(Player * _players[], int _nb_players){
|
||||
combatStep = BLOCKERS;
|
||||
}
|
||||
|
||||
void GameObserver::setGamePhaseManager(MTGGamePhase * _phases){
|
||||
gamePhaseManager = _phases;
|
||||
}
|
||||
|
||||
int GameObserver::getCurrentGamePhase(){
|
||||
return currentGamePhase;
|
||||
}
|
||||
@@ -467,12 +463,6 @@ int GameObserver::receiveEvent(WEvent * e){
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
bool GameObserver::isCreature(MTGCardInstance * card){
|
||||
return card->isCreature();
|
||||
}
|
||||
|
||||
|
||||
Player * GameObserver::currentlyActing(){
|
||||
if (isInterrupting) return isInterrupting;
|
||||
return currentActionPlayer;
|
||||
|
||||
Reference in New Issue
Block a user