#include <LibraryBehaviors.h>
Public Member Functions | |
PEntity () | |
PEntity (EntityInstancePtr entity) | |
void | SetEntity (EntityInstancePtr entity) const |
Public Attributes | |
float | x |
float | y |
float | xs |
float | ys |
float | rot |
green::PEntity::PEntity | ( | ) | [inline] |
Default constructor. nothing special, defaults to 0.0
green::PEntity::PEntity | ( | EntityInstancePtr | entity | ) | [inline] |
Create a PEntity from an EntityInstancePtr
entity | An EntityInstancePtr that you want to extract data from |
void green::PEntity::SetEntity | ( | EntityInstancePtr | entity | ) | const [inline] |
Set an EntityInstance to the values contained in this PEntity
entity | The entity you want to set to these values |