class Bonhomme

This class groups the two parts of a playing character : the Bonhomme60 (when choosing the character) and the Bonhomme20 (playing in the game)

Public Methods

Bonhomme(Ini& ini, int numeroSection, Sounder& sounder, TextPainter& textPainter, StripContainer& stripContainer) throw(Exception)
Pixel getColor() const throw()
const String* getId() const throw()
virtual ~Bonhomme() throw()
Bonhomme20* getBonhomme20() throw()
Bonhomme60* getBonhomme60() throw()
List < Bonhomme * > * getPlayingAll() throw()
List < Bonhomme * > * getPlayingTeam() throw()
List < Bonhomme * > * getPlayingExceptTeam() throw()
void addPlaying(Bonhomme& bonhomme, bool inTeam) throw()
Called by BonhommeContainer
void supprAllPlayingAdded() throw()
Called by BonhommeContainer
void setColor(Pixel color) throw()

Protected Fields

Bonhomme20* bonhomme20
Bonhomme60* bonhomme60
const String* const id
Id marked in .ini file
Pixel color
PixelPalette pixelPalette
The grey pixels of all the anims of the Bonhomme (Bonhomme20+Bonhomme60) are colored with the Bonhomme color (passing trough the palette)
List < Bonhomme * > playingAll
Contains all the playing characters (and himself)
List < Bonhomme * > playingTeam
Contains all the playing characters in his team (and himself)
List < Bonhomme * > playingExceptTeam
Contains all the playing characters not in his team (not himself)

Protected Methods

int virtualWalk() throw()

Documentation

This class groups the two parts of a playing character : the Bonhomme60 (when choosing the character) and the Bonhomme20 (playing in the game)
Bonhomme20* bonhomme20

Bonhomme60* bonhomme60

const String* const id
Id marked in .ini file

Pixel color

PixelPalette pixelPalette
The grey pixels of all the anims of the Bonhomme (Bonhomme20+Bonhomme60) are colored with the Bonhomme color (passing trough the palette)
See Also:
Anim

List < Bonhomme * > playingAll
Contains all the playing characters (and himself)

List < Bonhomme * > playingTeam
Contains all the playing characters in his team (and himself)

List < Bonhomme * > playingExceptTeam
Contains all the playing characters not in his team (not himself)

int virtualWalk() throw()

Bonhomme(Ini& ini, int numeroSection, Sounder& sounder, TextPainter& textPainter, StripContainer& stripContainer) throw(Exception)

Pixel getColor() const throw()

const String* getId() const throw()

virtual ~Bonhomme() throw()

Bonhomme20* getBonhomme20() throw()

Bonhomme60* getBonhomme60() throw()

List < Bonhomme * > * getPlayingAll() throw()

List < Bonhomme * > * getPlayingTeam() throw()

List < Bonhomme * > * getPlayingExceptTeam() throw()

void addPlaying(Bonhomme& bonhomme, bool inTeam) throw()
Called by BonhommeContainer

void supprAllPlayingAdded() throw()
Called by BonhommeContainer

void setColor(Pixel color) throw()


This class has no child classes.
Author:
David FAUTHOUX
See Also:
Bonhomme20
Bonhomme60
BonhommeContainer
PageBonhomme
PageGame

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