class Main : public Walkable, public Keyable, public CounterContainer, public MessageKeeper

global execution class

Inheritance:


Public Methods

Main(const char *nameFileIni, bool willClean) throw()
virtual ~Main() throw()
virtual void keyAction(const Key& key) throw()
The Keyer calls keyAction() of its elements, Main is an element of Keyer
virtual void setSlow(int slow) throw()
Useless ? Because the game use clock() to synchronize speed

Protected Classes

enum MessageEnum
Used with MessageKeeper
MESSAGE_LINUX
MESSAGE_HELP

Protected Fields

bool clean
Will clean the .ini files
clock_t incCptClock
clock_t nextCptClock
int keyHalt
key managed by the class to stop the game at once
bool halted
bool ok
Keyer* keyer
The Keyer of the game
Blower* blower
A Blower for the game
PageChanger* pageChanger
The PageChanger of the game
GraphicMode* graphicMode
The GraphicMode of the game
FlashPalette* palette
The FlashPalette of the game
Sounder* sounder
The Sounder of the game
Ini* ini
The Ini of the game
TextPainter* textPainter
The TextPainter of the game
StripContainer* stripContainer
The StripContainer of the game
const char* const nameFile
Name of the .ini file
int soundMusik
Used with Sounder
int timeWaitMusik
int timeScreen
List < const String * > * linuxMessage
Used with MessageKeeper
clock_t initClockTime
String timeMessageBegin
String timeMessageEnd
long long int cptFramePerSecond

Protected Methods

void endOfCount(int value) throw()
int virtualWalk() throw()
void action(int id) throw()

Inherited from Walkable:

Public Methods

int walk() throw(Exception)
int getSlow() const throw()

Protected Fields

int s
int t
int returnWalk

Inherited from Keyable:


Inherited from CounterContainer:

Public Methods

void virtual add(int t, int value) throw()
void virtual addLoop(int t, int value) throw()
void virtual reset() throw()
void virtual inc() throw()

Protected Fields

List < Counter* > list

Protected Methods

void supprIfPresent(int value) throw()

Inherited from Countable:


Inherited from MessageKeeper:

Public Methods

virtual void work(const Key& key) throw(Exception)
virtual void message(List< int >& listKey, int idAction) throw()

Protected Classes

class Tcontained
List < int > mot
int idAction
Tcontained(List< int >& _mot, int idAction)
~Tcontained()

Protected Methods

void incContained(Tcontained *c) throw(Exception)

Documentation

global execution class
enum MessageEnum
Used with MessageKeeper

MESSAGE_LINUX

MESSAGE_HELP

bool clean
Will clean the .ini files

clock_t incCptClock

clock_t nextCptClock

int keyHalt
key managed by the class to stop the game at once

bool halted

bool ok

Keyer* keyer
The Keyer of the game

Blower* blower
A Blower for the game

PageChanger* pageChanger
The PageChanger of the game

GraphicMode* graphicMode
The GraphicMode of the game

FlashPalette* palette
The FlashPalette of the game

Sounder* sounder
The Sounder of the game

Ini* ini
The Ini of the game

TextPainter* textPainter
The TextPainter of the game

StripContainer* stripContainer
The StripContainer of the game

const char* const nameFile
Name of the .ini file

int soundMusik
Used with Sounder

int timeWaitMusik

int timeScreen

List < const String * > * linuxMessage
Used with MessageKeeper

void endOfCount(int value) throw()

int virtualWalk() throw()

void action(int id) throw()

Main(const char *nameFileIni, bool willClean) throw()

virtual ~Main() throw()

virtual void keyAction(const Key& key) throw()
The Keyer calls keyAction() of its elements, Main is an element of Keyer

virtual void setSlow(int slow) throw()
Useless ? Because the game use clock() to synchronize speed

clock_t initClockTime

String timeMessageBegin

String timeMessageEnd

long long int cptFramePerSecond


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de