#include <avatar.h>
Public Member Functions | |
Avatar () | |
Default constructor. | |
virtual | ~Avatar () |
Destructor. | |
virtual void | fire (Templates::CallableBack< Avatar > *fireDone)=0 |
The method that starts the avatar bubble-firing sequence. | |
Static Protected Member Functions | |
static SoSeparator * | getBubbleHammer () |
A static method that generates a model of the bubble hammer. | |
Private Member Functions | |
Avatar (const Avatar &) | |
Avatar & | operator= (const Avatar &) |
This abstract class encapsulates player avatar. The avatar has a graphical representation in the OpenInventor. This class is a reference object (cannot be copied).
Avatar::Avatar | ( | const Avatar & | ) | [private] |
Avatar::Avatar | ( | ) |
Default constructor.
Default constructor of the Avatar class
virtual Avatar::~Avatar | ( | ) | [virtual] |
Destructor.
static SoSeparator* Avatar::getBubbleHammer | ( | ) | [static, protected] |
A static method that generates a model of the bubble hammer.
virtual void Avatar::fire | ( | Templates::CallableBack< Avatar > * | fireDone | ) | [pure virtual] |
The method that starts the avatar bubble-firing sequence.
This method starts the avatar bubble-firing sequence. When it is done, it calls the fireDone "action performed" method.
[in] | fireDone | Object on which the "action performed" method should be called when the bubble-firing sequence is completed |
Implemented in ModelAvatar, and SnowmanAvatar.