Avatar Class Reference

Abstract class encapsulating player avatar. More...

#include <avatar.h>

Inheritance diagram for Avatar:

TimeUpdateable GraphicalNode Templates::Observer< Camera > ModelAvatar SnowmanAvatar

List of all members.

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 &)
Avataroperator= (const Avatar &)


Detailed Description

Abstract class encapsulating player 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).


Constructor & Destructor Documentation

Avatar::Avatar ( const Avatar  )  [private]

Avatar::Avatar (  ) 

Default constructor.

Default constructor of the Avatar class

virtual Avatar::~Avatar (  )  [virtual]

Destructor.


Member Function Documentation

Avatar& Avatar::operator= ( const Avatar  )  [private]

static SoSeparator* Avatar::getBubbleHammer (  )  [static, protected]

A static method that generates a model of the bubble hammer.

Returns:
A SoSeparator with 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.

Parameters:
[in] fireDone Object on which the "action performed" method should be called when the bubble-firing sequence is completed

Implemented in ModelAvatar, and SnowmanAvatar.


The documentation for this class was generated from the following file:

Generated on Sat Dec 20 19:21:24 2008 for PGR2008 by  doxygen 1.5.6