Phoenix2D-Library  0.10
Public Member Functions | Protected Attributes | List of all members
Phoenix::PlayMode Class Referenceabstract

PlayMode
The PlayMode lorem Ipsum More...

#include <PlayMode.h>

Inheritance diagram for Phoenix::PlayMode:
Inheritance graph
[legend]
Collaboration diagram for Phoenix::PlayMode:
Collaboration graph
[legend]

Public Member Functions

 PlayMode (Commands *commands)
 
virtual ~PlayMode ()
 
void onStart ()
 
virtual void setup (WorldModel world)=0
 
void onPreExecute ()
 
virtual void onPlayerExecute (WorldModel world)=0
 
virtual void onGoalieExecute (WorldModel world)=0
 
virtual void onCoachExecute (WorldModel world)=0
 
virtual void onMessageReceived (std::string message, int sender)=0
 
void onPostExecute ()
 
void onEnd ()
 

Protected Attributes

Commandscommands
 

Detailed Description

PlayMode
The PlayMode lorem Ipsum

Definition at line 59 of file PlayMode.h.

Constructor & Destructor Documentation

Phoenix::PlayMode::PlayMode ( Commands commands)

Definition at line 26 of file PlayMode.cpp.

References commands.

Phoenix::PlayMode::~PlayMode ( )
virtual

Definition at line 30 of file PlayMode.cpp.

Member Function Documentation

virtual void Phoenix::PlayMode::onCoachExecute ( WorldModel  world)
pure virtual
void Phoenix::PlayMode::onEnd ( )

Definition at line 46 of file PlayMode.cpp.

virtual void Phoenix::PlayMode::onGoalieExecute ( WorldModel  world)
pure virtual
virtual void Phoenix::PlayMode::onMessageReceived ( std::string  message,
int  sender 
)
pure virtual
virtual void Phoenix::PlayMode::onPlayerExecute ( WorldModel  world)
pure virtual
void Phoenix::PlayMode::onPostExecute ( )

Definition at line 42 of file PlayMode.cpp.

References commands, and Phoenix::Commands::sendCommands().

Here is the call graph for this function:

void Phoenix::PlayMode::onPreExecute ( )

Definition at line 38 of file PlayMode.cpp.

References commands, and Phoenix::Commands::flush().

Here is the call graph for this function:

void Phoenix::PlayMode::onStart ( )

Definition at line 34 of file PlayMode.cpp.

References Phoenix::Parser::registerPlayMode().

Here is the call graph for this function:

virtual void Phoenix::PlayMode::setup ( WorldModel  world)
pure virtual

Member Data Documentation

Commands* Phoenix::PlayMode::commands
protected

The documentation for this class was generated from the following files: