class Bonhomme60 : public MultiAnim

The character when choosing

Inheritance:


Public Methods

Bonhomme60(Ini& ini, int numeroSection, Bonhomme& bonhomme, TextPainter& textPainter, Sounder& sounder, const PixelPalette& pixelPalette) throw(Exception)
virtual ~Bonhomme60() throw()
void reinit() throw()
void ecraser() throw()
Crash it
bool isEcrase() const throw()
Is crashed ?
void activateMore() throw()
Activate the pretty useless animations on Bonhomme60
void unactivateMore() throw()
Unactivate the pretty useless animations on Bonhomme60
void paint(WindowPipe& windowPipe) throw()
Bonhomme* getBonhomme() throw()
Reference to the container
const Bonhomme* getBonhomme() const throw()
Pixel getNormalColor() const throw()
void paintText(WindowPipe& windowPipe, const String& text) throw()

Protected Fields

Bonhomme* const bonhommeRef
Reference
Sounder* const sounderRef
Reference to play sounds
int soundDepartId
int soundEcrasementId
TextPainter* const textPainterRef
Used to paint the name
int animPrincipale
Id to use with MultiAnim : loop when not chosen
int animDepart
Not loop when starting
int animEcrasement
Not loop when crashing
int animArrivee
Loop after
bool moreActivated
To manage pretty useless animations
PageableContainer animMore
PageableContainer loopAnimMore
List < Anim * > allMore
Tji posAnimDepart
Tji posAnimArrivee
bool ecra
Crashed ?

Protected Methods

int virtualWalk() throw()

Private Methods

void move(int j, int i) throw()
Not callable

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 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:


Documentation

The character when choosing. It manages the normal four animations (loop when not chosen, not loop when starting, not loop when crashed on wall, loop after), plus other and other animations... (see the stars on witch !)
void move(int j, int i) throw()
Not callable

Bonhomme* const bonhommeRef
Reference

Sounder* const sounderRef
Reference to play sounds

int soundDepartId

int soundEcrasementId

TextPainter* const textPainterRef
Used to paint the name

int animPrincipale
Id to use with MultiAnim : loop when not chosen

int animDepart
Not loop when starting

int animEcrasement
Not loop when crashing

int animArrivee
Loop after

bool moreActivated
To manage pretty useless animations

PageableContainer animMore

PageableContainer loopAnimMore

List < Anim * > allMore

Tji posAnimDepart

Tji posAnimArrivee

bool ecra
Crashed ?

int virtualWalk() throw()

Bonhomme60(Ini& ini, int numeroSection, Bonhomme& bonhomme, TextPainter& textPainter, Sounder& sounder, const PixelPalette& pixelPalette) throw(Exception)

virtual ~Bonhomme60() throw()

void reinit() throw()

void ecraser() throw()
Crash it

bool isEcrase() const throw()
Is crashed ?

void activateMore() throw()
Activate the pretty useless animations on Bonhomme60

void unactivateMore() throw()
Unactivate the pretty useless animations on Bonhomme60

void paint(WindowPipe& windowPipe) throw()

Bonhomme* getBonhomme() throw()
Reference to the container

const Bonhomme* getBonhomme() const throw()

Pixel getNormalColor() const throw()

void paintText(WindowPipe& windowPipe, const String& text) throw()


This class has no child classes.
Author:
David FAUTHOUX
See Also:
Bonhomme
PageBonhomme

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