class Trou : public MultiAnim, public CounterContainer

Hole

Inheritance:


Public Methods

Trou(Ini& ini, Sounder& sounder, Grille& grille) throw(Exception)
virtual ~Trou() throw()
virtual void fire() throw()
To add a hole
virtual void paint(WindowPipe& windowPipe) throw()
virtual void reinit() throw()

Protected Classes

class Cinq
int j
int i
int vj
int vi
Sprite* s
Cinq(int _j, int _i, int _vj, int _vi, Pixel _col)
~Cinq()

Protected Fields

Tji decal
Tji decalRand
Tji tremble
Sounder* const sounderRef
Grille* const grilleRef
List < Anim * > listToBePaint
Pixel colPixel
int amountPixel
List < Cinq * > listPixel
const int soundId
int cptAnim

Protected Methods

virtual int virtualWalk() throw()
virtual void endOfCount(int) throw()
virtual void walkPixel() throw()
virtual void addPixel(int j, int i, Pixel col) throw()

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 keyAction(const Key& key) throw()
void virtual move(int j, int i) throw()
void virtual getPos(int& j, int& i) const 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

Hole. When you are dead and irritated ! The animations are put TO the screen, to avoid shadow. Some pixels jumps when a Trou is created.
class Cinq

int j

int i

int vj

int vi

Sprite* s

Cinq(int _j, int _i, int _vj, int _vi, Pixel _col)

~Cinq()

Tji decal

Tji decalRand

Tji tremble

Sounder* const sounderRef

Grille* const grilleRef

List < Anim * > listToBePaint

Pixel colPixel

int amountPixel

List < Cinq * > listPixel

const int soundId

int cptAnim

virtual int virtualWalk() throw()

virtual void endOfCount(int) throw()

virtual void walkPixel() throw()

virtual void addPixel(int j, int i, Pixel col) throw()

Trou(Ini& ini, Sounder& sounder, Grille& grille) throw(Exception)

virtual ~Trou() throw()

virtual void fire() throw()
To add a hole

virtual void paint(WindowPipe& windowPipe) throw()

virtual void reinit() 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