#include <VictoryConditions.h>
Inherits SubsystemInterface.
Inherited by VictoryConditions.
Public Member Functions | |
| VictoryConditionsInterface () | |
| virtual void | init (void)=0 |
| virtual void | reset (void)=0 |
| virtual void | update (void)=0 |
| void | setVictoryConditions (Int victoryConditions) |
| Int | getVictoryConditions (void) |
| virtual Bool | hasAchievedVictory (Player *player)=0 |
| has a specific player and his allies won? | |
| virtual Bool | hasBeenDefeated (Player *player)=0 |
| has a specific player and his allies lost? | |
| virtual Bool | hasSinglePlayerBeenDefeated (Player *player)=0 |
| has a specific player lost? | |
| virtual void | cachePlayerPtrs (void)=0 |
| players have been created - cache the ones of interest | |
| virtual Bool | isLocalAlliedVictory (void)=0 |
| convenience function | |
| virtual Bool | isLocalAlliedDefeat (void)=0 |
| convenience function | |
| virtual Bool | isLocalDefeat (void)=0 |
| convenience function | |
| virtual Bool | amIObserver (void)=0 |
| Am I an observer?( need this for scripts ) | |
| virtual UnsignedInt | getEndFrame (void)=0 |
| on which frame was the game effectively over? | |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Protected Attributes | |
| Int | m_victoryConditions |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
VictoryConditionsInterface class - maintains information about the game setup and the contents of its slot list hroughout the game.
Definition at line 52 of file VictoryConditions.h.
|
inline |
Definition at line 55 of file VictoryConditions.h.
|
pure virtual |
Am I an observer?( need this for scripts )
Implemented in VictoryConditions.
|
pure virtual |
players have been created - cache the ones of interest
Implemented in VictoryConditions.
|
pure virtual |
on which frame was the game effectively over?
Implemented in VictoryConditions.
|
inline |
Definition at line 62 of file VictoryConditions.h.
has a specific player and his allies won?
Implemented in VictoryConditions.
has a specific player and his allies lost?
Implemented in VictoryConditions.
|
pure virtual |
has a specific player lost?
Implemented in VictoryConditions.
|
pure virtual |
Implements SubsystemInterface.
Implemented in VictoryConditions.
|
pure virtual |
convenience function
Implemented in VictoryConditions.
|
pure virtual |
convenience function
Implemented in VictoryConditions.
|
pure virtual |
convenience function
Implemented in VictoryConditions.
|
pure virtual |
Implements SubsystemInterface.
Implemented in VictoryConditions.
|
inline |
Definition at line 61 of file VictoryConditions.h.
|
pure virtual |
Implements SubsystemInterface.
Implemented in VictoryConditions.
|
protected |
Definition at line 76 of file VictoryConditions.h.