public abstract class VictoryConditions
extends Object
Modifier and Type | Method and Description |
---|---|
void |
vcCheckConquestVictory()
Checks if a player has no more units marked with "LogicalTypeNeededForVictory".
|
void |
vcCheckSettlementVictory(int countdown)
Checks if 1 team has claimed all town centers, and fires a counter with given duration.
|
int |
vcGetGameplayMode()
Returns the current gameplay modeID.
|
void |
vcStartOrUpdateWonderTimer(int player,
string building,
int countdown)
Looks for wonder timers to start.
|
public void vcCheckConquestVictory()
public void vcCheckSettlementVictory(int countdown)
countdown
- the duration of the countdownpublic void vcStartOrUpdateWonderTimer(int player, string building, int countdown)
player
- the player to be checked for wonders.building
- the protoname for a wonder ("wonder")countdown
- the duration of the countdownpublic int vcGetGameplayMode()