class BonhommeContainer : public Keyable

Manage the containing an relationship between Bonhomme

Inheritance:


Public Methods

BonhommeContainer(Ini& ini, Sounder& sounder, TextPainter& textPainter, StripContainer& stripContainer) throw(Exception)
virtual ~BonhommeContainer() throw()
void virtual incNbPlayer() throw()
void virtual decNbPlayer() throw()
int virtual getNbPlayer() const throw()
int virtual getMaxNbPlayer() const throw()
void setOrUnsetTeam() throw()
Set or unset team
bool isTeamSet() const throw()
List < Bonhomme * > * getAllBonhomme() throw()
List < Bonhomme * > * getBonhommePlaying() throw()
List < Player * > * getAllPlayer() throw()
List < Player * > * getPlayerPlaying() throw()

Protected Fields

List < Bonhomme * > listBonhomme
List < Bonhomme * > listBonhommeAlone
Bonhommes not chosen
List < Player * > listPlayer
List < Bonhomme * > listBonhommePlaying
List < Player * > listPlayerPlaying
int nbPlayer
Totally amount of players
int maxNbPlayer
Ini* const iniRef
bool teamSet
int amountPlayerInTeam

Protected Methods

void checkBonhomme(Player& p) throw()
Verify the Bonhomme of the Player
void setBonhommePlaying() throw()
void setPlayingAdded() throw()
Bonhomme* findRight(Bonhomme *b) throw()
Walking in the Bonhomme list
Bonhomme* findLeft(Bonhomme *b) throw()
Walking in the Bonhomme list

Inherited from Keyable:

Public Methods

void virtual keyAction(const Key& key) throw()

Documentation

Manage the containing an relationship between Bonhomme. Teams, actions passing, key passing, painting...
List < Bonhomme * > listBonhomme

List < Bonhomme * > listBonhommeAlone
Bonhommes not chosen

List < Player * > listPlayer

List < Bonhomme * > listBonhommePlaying

List < Player * > listPlayerPlaying

int nbPlayer
Totally amount of players

int maxNbPlayer

Ini* const iniRef

bool teamSet

int amountPlayerInTeam

void checkBonhomme(Player& p) throw()
Verify the Bonhomme of the Player

void setBonhommePlaying() throw()

void setPlayingAdded() throw()

Bonhomme* findRight(Bonhomme *b) throw()
Walking in the Bonhomme list

Bonhomme* findLeft(Bonhomme *b) throw()
Walking in the Bonhomme list

BonhommeContainer(Ini& ini, Sounder& sounder, TextPainter& textPainter, StripContainer& stripContainer) throw(Exception)

virtual ~BonhommeContainer() throw()

void virtual incNbPlayer() throw()

void virtual decNbPlayer() throw()

int virtual getNbPlayer() const throw()

int virtual getMaxNbPlayer() const throw()

void setOrUnsetTeam() throw()
Set or unset team

bool isTeamSet() const throw()

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

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

List < Player * > * getAllPlayer() throw()

List < Player * > * getPlayerPlaying() throw()


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

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