class CaseMurRefermable : public CaseMur

The open/close wall Case

Inheritance:


Public Methods

CaseMurRefermable(Anim *aniNormal, Anim *aniOpening, Anim *aniClosing) throw()
Defines entirely the Case : the animations used
bool virtual traversable(bool force) throw()
If force==true, the wall opens
int virtual virtualWalk() throw()
The Case has to walk in order to manage the passage from the different animations
bool virtual blowable() throw()
Opens the wall
virtual void action(Bonhomme20& bonhomme) throw()
Ups the bonhomme
bool stackable() const throw()
Only when broken
bool high() const throw()
Only when not broken

Protected Fields

const int aniNormalId
const int aniOpeningId
const int aniClosingId
int step

Inherited from CaseMur:

Public Methods

bool virtual haveToActivateUnder() throw()
bool virtual haveToUnactivateUnder() throw()

Protected Fields

bool activateUnder
bool unactivateUnder

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()
virtual void tolerantAction(Bonhomme20& bonhomme) throw()
bool virtual toBeBlownUp() const throw()
bool virtual getTraverseMur() const throw()
int virtual getPuissance() const throw()
bool virtual restricted() const throw()
bool virtual fallable() const throw()
bool virtual paintedUp() 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 paint(WindowPipe& windowPipe) 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:


Documentation

The open/close wall Case. It opens on a call to traversable(true) or blowable() and closes itself.
const int aniNormalId

const int aniOpeningId

const int aniClosingId

int step

CaseMurRefermable(Anim *aniNormal, Anim *aniOpening, Anim *aniClosing) throw()
Defines entirely the Case : the animations used
Parameters:
aniNormal - the animation while doing nothing
aniOpening - the animation while opening
aniClosing - the animation while closing

bool virtual traversable(bool force) throw()
If force==true, the wall opens

int virtual virtualWalk() throw()
The Case has to walk in order to manage the passage from the different animations

bool virtual blowable() throw()
Opens the wall

virtual void action(Bonhomme20& bonhomme) throw()
Ups the bonhomme

bool stackable() const throw()
Only when broken

bool high() const throw()
Only when not broken


This class has no child classes.
Author:
David FAUTHOUX
See Also:
Sounder
Bonhomme20
Anim

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