class CaseOptionCounter : public CaseOption, public CounterContainer

It manages a time counter, to delay an action (it calls derivedEnd() at the end of the sound references by soundEndIdRef)

Inheritance:


Public Methods

CaseOptionCounter(Anim *aniNormal, Anim *aniCrame, Sounder& sounder, int soundId, int soundEndId) throw()
virtual void paint(WindowPipe& windowPipe) throw()
virtual void action(Bonhomme20& bonhomme) throw()

Protected Fields

Sounder* const sounderRef
const int soundIdRef
const int soundEndIdRef
bool blowed
Bonhomme20* bonhommeRef

Protected Methods

int virtual virtualWalk() throw()
virtual void endOfCount(int value) throw()
virtual void derivedEnd(Bonhomme20& b) throw()
virtual void derivedAction(Bonhomme20& bonhomme) throw()

Inherited from CaseOption:

Public Methods

bool virtual blowable() throw()
bool virtual paintedUp() throw()

Protected Fields

int aniNormalId
int aniCrameId
int step
bool got
bool sol

Inherited from Case:

Public Methods

virtual void move(int niv, int j, int i, int jMult, int iMult) throw()
virtual void getPos(int& niv, int& j, int& i) const throw()
bool virtual traversable(bool force) throw()
virtual void tolerantAction(Bonhomme20& bonhomme) throw()
bool virtual toBeBlownUp() const throw()
bool virtual getTraverseMur() const throw()
int virtual getPuissance() const throw()
bool virtual haveToActivateUnder() throw()
bool virtual haveToUnactivateUnder() throw()
bool virtual restricted() const throw()
bool virtual stackable() const throw()
bool virtual high() const throw()
bool virtual fallable() const throw()

Protected Fields

int niv
int jc
int ic

Inherited from MultiAnim:

Public Methods

void virtual setOn() throw()
void virtual setUppest() throw()
void virtual setTo() throw()
void virtual setUnder() throw()
void virtual setPalette(const PixelPalette& pal) throw()
void virtual reinit() throw()
void virtual keyAction(const Key& key) throw()
int virtual add(Anim& anim) throw()
void virtual on(int id) throw(Exception)
Anim* getAnim(int id) throw(Exception)
void virtual setColor(Pixel col) throw()
void virtual restoreColor() throw()
int getCurrent() throw()
void getSize(int& j, int& i) const throw()

Protected Fields

Anim** tab
int length
Tji pos
Anim* activeAnim
Pixel color
bool colored
bool _on
bool to
bool under
const PixelPalette* pal
int currentAnim
bool uppest

Inherited from Pageable:


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

Inherited from Paintable:


Inherited from Reinitable:


Inherited from Keyable:


Inherited from Activable:

Public Methods

void virtual activate() throw()
void virtual unactivate() throw()
bool virtual isActive() const throw()

Protected Fields

bool active

Inherited from Movable:


Inherited from CounterContainer:

Public Methods

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:


Documentation

It manages a time counter, to delay an action (it calls derivedEnd() at the end of the sound references by soundEndIdRef)
Sounder* const sounderRef

const int soundIdRef

const int soundEndIdRef

bool blowed

Bonhomme20* bonhommeRef

int virtual virtualWalk() throw()

virtual void endOfCount(int value) throw()

virtual void derivedEnd(Bonhomme20& b) throw()

virtual void derivedAction(Bonhomme20& bonhomme) throw()

CaseOptionCounter(Anim *aniNormal, Anim *aniCrame, Sounder& sounder, int soundId, int soundEndId) throw()

virtual void paint(WindowPipe& windowPipe) throw()

virtual void action(Bonhomme20& bonhomme) throw()


Direct child classes:
CaseOptionWin95
CaseOptionResurrect
CaseOptionPhoto
CaseOptionOuba
CaseOptionChicken
CaseOptionArmageddon
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