Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Player Class Reference
[Managed Objects]

Player Class Definition. More...

#include <Player.h>

Inheritance diagram for Player:

Inheritance graph
[legend]
Collaboration diagram for Player:

Collaboration graph
[legend]
List of all members.

Public Methods

WDError initRef (void *inNode, IObjectManager *inManager, IObjectEventHandler *inEventHandler)
WDError initRef (PlayerGroup *inParent, int inIndex, IObjectEventHandler *inEventHandler)
WDError initNew (PlayerGroup *inParent, IObjectEventHandler *inEventHandler)

Detailed Description

Player Class Definition.

A Player is a group of Actors which behave under the control of the user.


Member Function Documentation

WDError Player::initNew PlayerGroup   inParent,
IObjectEventHandler   inEventHandler
 

Creates a new Player and adds it to the database

Parameters:
inParent  PlayerGroup in which the Formation is to be added
inEventHandler  EventHandler which listens to changes on the data node (can be NULL)

WDError Player::initRef PlayerGroup   inParent,
int    inIndex,
IObjectEventHandler   inEventHandler
 

Initializes an existing Player based on its parent

Parameters:
inParent  PlayerGroup in which the Player is
inIndex  Index of the Player in the PlayerGroup
inEventHandler  EventHandler which listens to changes on the data node (can be NULL)

WDError Player::initRef void *    inNode,
IObjectManager   inManager,
IObjectEventHandler   inEventHandler
 

Initializes an existing Player based on data node

Parameters:
inNode  Data node representing the Player
inManager  Database from which the data node was taken
inEventHandler  EventHandler which listens to changes on the data node (can be NULL)

Reimplemented from ManagedObject.


The documentation for this class was generated from the following file:
Generated on Mon Apr 15 15:23:19 2002 for WhiteDwarf by doxygen1.2.15