Main class to define the properties of a square in the game array
Main class to define the properties of a square in the game array. - Case is a french word for a square in an array. This class define a default square of the Grille (in english : Wire or Array) in a game. The goal is : when you want to define a new specification of a square, you must derive the methods 'traversable', 'blowable', etc. For example, a MurIndestructible (in english : indestructible wall) is not 'traversable'.
int niv
int jc
int ic
Case() throw()
virtual ~Case() throw()
virtual void move(int niv, int j, int i, int jMult, int iMult) throw()
j - the vertical position in the array of the game (managed by a Grille)
i - the horizontal position in the array
jMult - this integer defines the vertical size of a square in the screen (normally 20), it is necessary in order to print the Case on the screen
iMult - this integer defines the horizontal size of a square in the screen (normally 20), it is necessary in order to print the Case on the screen virtual void getPos(int& niv, int& j, int& i) const throw()
j - vertical position in the array of the game (managed by a Grille)
i - horizontal position in the array of the game (managed by a Grille) bool virtual traversable(bool force) throw()
virtual void action(Bonhomme20& bonhomme) throw()
virtual void tolerantAction(Bonhomme20& bonhomme) throw()
bool virtual toBeBlownUp() const throw()
bool virtual blowable() 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()
bool virtual paintedUp() throw()
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