class MultiAnim : public Pageable, public Movable

Manages many animations excluding themselves : one animation is painted and managed at a time

Inheritance:


Public Methods

MultiAnim() throw()
virtual ~MultiAnim() throw()
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 paint(WindowPipe& windowPipe) throw()
void virtual reinit() 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()
Returns the id of the animation
void virtual on(int id) throw(Exception)
Activate the animations "id" (id returns by add())
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

Protected Methods

int virtual virtualWalk() throw()

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

Manages many animations excluding themselves : one animation is painted and managed at a time. For more powerful, see MoreMultiAnim
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

int virtual virtualWalk() throw()

MultiAnim() throw()

virtual ~MultiAnim() throw()

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 paint(WindowPipe& windowPipe) throw()

void virtual reinit() 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()
Returns the id of the animation

void virtual on(int id) throw(Exception)
Activate the animations "id" (id returns by add())

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()


Direct child classes:
Trou
MoreMultiAnim
Coeur
CharacterMot
Case
Boue
Bonhomme60
Author:
David FAUTHOUX
See Also:
Anim

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