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

Formation Class Reference
[Managed Objects]

Formation Class Definition. More...

#include <Formation.h>

Inheritance diagram for Formation:

Inheritance graph
[legend]
Collaboration diagram for Formation:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Detailed Description

Formation Class Definition.

A Formation is a group of Actors which behave according to a certain type of AI.


Member Function Documentation

WDError Formation::initNew FormationGroup   inParent,
IObjectEventHandler   inEventHandler
 

Creates a new Formation and adds it to the database

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

WDError Formation::initRef FormationGroup   inParent,
int    inIndex,
IObjectEventHandler   inEventHandler
 

Initializes an existing Formation based on its parent

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

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

Initializes an existing Formation based on data node

Parameters:
inNode  Data node representing the Formation
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:13 2002 for WhiteDwarf by doxygen1.2.15