CGameEntityData Class Reference

Data for creating game entities. More...

#include <gameEntityData.h>

List of all members.

Public Member Functions

 CGameEntityData (CXMLNode node)
 Load entity descriptions from XML data.
int cmp_size (bool bIncludeParents=false) const
 
Returns:
The number of cmp edit groups.

void add_cmp (const EDIT_CMP_DATA &edit)
 Add a cmp.
EDIT_CMP_DATAget_cmp (const int i)
 Get a pointer to EDIT_CMP_DATA struct.
EDIT_SKILL_DATAget_skill (const int i)
CGameEntityDataget_parent () const
 
Returns:
Pointer to the parent data.


Detailed Description

Data for creating game entities.

(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.

Author:
Doug Poston
Version:
1.3
Date:
12/28/2007

Constructor & Destructor Documentation

CGameEntityData::CGameEntityData ( CXMLNode  node  ) 

Load entity descriptions from XML data.

Parameters:
node XML node.


Member Function Documentation

void CGameEntityData::add_cmp ( const EDIT_CMP_DATA edit  )  [inline]

Add a cmp.

Parameters:
edit EDIT_CMP_DATA struct to be added.

EDIT_CMP_DATA * CGameEntityData::get_cmp ( const int  i  ) 

Get a pointer to EDIT_CMP_DATA struct.

Parameters:
i Index to edit.
Returns:
Pointer to EDIT_CMP_DATA or NULL if index is out of bounds.

EDIT_SKILL_DATA * CGameEntityData::get_skill ( const int  i  ) 

Parameters:
i Index to edit.
Returns:
Pointer to EDIT_SKILL_DATA or NULL if index is out of bounds.


The documentation for this class was generated from the following files:
Generated on Fri Dec 28 12:55:07 2007 for template7 by  doxygen 1.5.4