class PageChanger : public Keyable, public Walkable

Manages all the Pages : loading and interactions (load classes according to the id of the Page in

Inheritance:


Public Methods

PageChanger(Walkable& allTheGame, Ini& _ini, GraphicMode& graphicMode, FlashPalette& palette, Sounder& sounder, Keyer& keyer, Blower& redirector, TextPainter& textPainter, StripContainer& stripContainer, bool clean) throw(Exception)
virtual ~PageChanger() throw()
void virtual keyAction(const Key& key) throw(Exception)
void virtual paint() throw()
int virtual virtualWalk() throw()

Protected Classes

struct AuxStruct
PageChangerCouple* couple
int cpt

Protected Fields

List < PageChangerCouple * > listCouple
PageChangerCouple* currentCouple
List < PageChangerDescChanging * > listChanging
int nbChanging
Page* newPage
Page* oldPage
bool changing
PageChangerDescChanging* currentChanging
Tji newVit
Tji oldVit
bool finished
GraphicMode* const graphicModeRef
FlashPalette* const paletteRef
Ini* const iniRef
Sounder* const sounderRef
BonhommeContainer* bonhommeContainer
Grille* grille
int soundBlowUpMotId
Blower* redirectorRef
StripContainer* stripContainerRef

Protected Methods

bool elastiqueEtSol(Page& page, int jTo, int iTo, int& jVit, int& iVit, bool haveToSetTotalyGone) throw()
void constructCouple(Walkable& allTheGame, Keyer& keyer, bool clean) throw(Exception)
void getChangingValues() throw()
void testAllChange(Page& newPage) throw()

Private Methods

void changeOn(int key) throw()

Inherited from Keyable:


Inherited from Walkable:

Public Methods

int walk() throw(Exception)
int getSlow() const throw()
virtual void setSlow(int slow) throw()

Protected Fields

int s
int t
int returnWalk

Documentation

Manages all the Pages : loading and interactions (load classes according to the id of the Page in .ini files). Uses the [Changing Page] section in .ini files : Law : there is an elastic hanging the destination position of the Page and its initial position
struct AuxStruct

PageChangerCouple* couple

int cpt

List < PageChangerCouple * > listCouple

PageChangerCouple* currentCouple

List < PageChangerDescChanging * > listChanging

int nbChanging

Page* newPage

Page* oldPage

bool changing

PageChangerDescChanging* currentChanging

Tji newVit

Tji oldVit

bool finished

GraphicMode* const graphicModeRef

FlashPalette* const paletteRef

Ini* const iniRef

Sounder* const sounderRef

BonhommeContainer* bonhommeContainer

Grille* grille

int soundBlowUpMotId

Blower* redirectorRef

StripContainer* stripContainerRef

bool elastiqueEtSol(Page& page, int jTo, int iTo, int& jVit, int& iVit, bool haveToSetTotalyGone) throw()

void constructCouple(Walkable& allTheGame, Keyer& keyer, bool clean) throw(Exception)

void getChangingValues() throw()

void testAllChange(Page& newPage) throw()

void changeOn(int key) throw()

PageChanger(Walkable& allTheGame, Ini& _ini, GraphicMode& graphicMode, FlashPalette& palette, Sounder& sounder, Keyer& keyer, Blower& redirector, TextPainter& textPainter, StripContainer& stripContainer, bool clean) throw(Exception)

virtual ~PageChanger() throw()

void virtual keyAction(const Key& key) throw(Exception)

void virtual paint() throw()

int virtual virtualWalk() throw()


This class has no child classes.
Author:
David FAUTHOUX

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