green::PEntity Class Reference

#include <LibraryBehaviors.h>

List of all members.

Public Member Functions

 PEntity ()
 PEntity (EntityInstancePtr entity)
void SetEntity (EntityInstancePtr entity) const

Public Attributes

float x
float y
float xs
float ys
float rot


Detailed Description

PEntity stands for "Parsed Entity". It's basically a convenience class for getting the default variables from an EntityInstance, and setting them again


Constructor & Destructor Documentation

green::PEntity::PEntity (  )  [inline]

Default constructor. nothing special, defaults to 0.0

green::PEntity::PEntity ( EntityInstancePtr  entity  )  [inline]

Create a PEntity from an EntityInstancePtr

Parameters:
entity An EntityInstancePtr that you want to extract data from


Member Function Documentation

void green::PEntity::SetEntity ( EntityInstancePtr  entity  )  const [inline]

Set an EntityInstance to the values contained in this PEntity

Parameters:
entity The entity you want to set to these values


The documentation for this class was generated from the following file:
Generated on Fri Apr 27 10:27:39 2007 for Green Engine by  doxygen 1.5.1