PlacementObjectGroup Class Reference

#include <PlacementObjectGroup.h>

Inheritance diagram for PlacementObjectGroup:

PlacementObject

List of all members.

Public Member Functions

 PlacementObjectGroup ()
virtual ~PlacementObjectGroup ()
virtual bool readXML (XMLNode *node)
virtual
PlacementObject::Type 
getType ()
virtual void createObject (ScorchedContext &context, RandomGenerator &generator, unsigned int &playerId, PlacementType::Position &position)

Protected Attributes

std::list< GroupObjectgroups_

Classes

struct  GroupObject


Detailed Description

Definition at line 26 of file PlacementObjectGroup.h.


Constructor & Destructor Documentation

PlacementObjectGroup::PlacementObjectGroup (  ) 

Definition at line 24 of file PlacementObjectGroup.cpp.

PlacementObjectGroup::~PlacementObjectGroup (  )  [virtual]

Definition at line 28 of file PlacementObjectGroup.cpp.


Member Function Documentation

bool PlacementObjectGroup::readXML ( XMLNode node  )  [virtual]

Reimplemented from PlacementObject.

Definition at line 32 of file PlacementObjectGroup.cpp.

References PlacementObject::create(), XMLNode::failChildren(), XMLNode::getNamedChild(), XMLNode::getNamedParameter(), groups_, PlacementObjectGroup::GroupObject::object, PlacementObjectGroup::GroupObject::offset, and PlacementObject::readXML().

virtual PlacementObject::Type PlacementObjectGroup::getType (  )  [inline, virtual]

Implements PlacementObject.

Definition at line 33 of file PlacementObjectGroup.h.

References PlacementObject::eGroup.

void PlacementObjectGroup::createObject ( ScorchedContext context,
RandomGenerator generator,
unsigned int &  playerId,
PlacementType::Position position 
) [virtual]

Implements PlacementObject.

Definition at line 55 of file PlacementObjectGroup.cpp.

References PlacementObject::createObject(), groups_, PlacementObjectGroup::GroupObject::object, PlacementObjectGroup::GroupObject::offset, and PlacementType::Position::position.


Member Data Documentation

std::list<GroupObject> PlacementObjectGroup::groups_ [protected]

Definition at line 45 of file PlacementObjectGroup.h.

Referenced by createObject(), and readXML().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:05 2009 for Scorched3D by  doxygen 1.5.3