Cyrus Mod Loader
Loading...
Searching...
No Matches
PhysicsBehaviorTemplate Class Reference

#include <PhysicsBehaviorTemplate.h>

Inheritance diagram for PhysicsBehaviorTemplate:
CollisionBehaviorTemplate BehaviorTemplate PropertyClass

Public Member Functions

PhysicsBehaviorTemplate__SimulationMethod getNSimulationMethod ()
 
void setNSimulationMethod (PhysicsBehaviorTemplate__SimulationMethod val)
 
bool getBEnableGravity ()
 
void setBEnableGravity (bool val)
 
bool getBEnableDamping ()
 
void setBEnableDamping (bool val)
 
bool getBStartsEnabled ()
 
void setBStartsEnabled (bool val)
 
float getFDampingX ()
 
void setFDampingX (float val)
 
float getFDampingY ()
 
void setFDampingY (float val)
 
float getFDampingZ ()
 
void setFDampingZ (float val)
 
float getFAngDampingX ()
 
void setFAngDampingX (float val)
 
float getFAngDampingY ()
 
void setFAngDampingY (float val)
 
float getFAngDampingZ ()
 
void setFAngDampingZ (float val)
 
float getFCenterX ()
 
void setFCenterX (float val)
 
float getFCenterY ()
 
void setFCenterY (float val)
 
float getFCenterZ ()
 
void setFCenterZ (float val)
 
List< MassShapeTemplate * > * getMassShapes ()
 
void setMassShapes (List< MassShapeTemplate * > *val)
 
- Public Member Functions inherited from CollisionBehaviorTemplate
std::string getWalkableCollisionFilename ()
 
void setWalkableCollisionFilename (std::string val)
 
std::string getSolidCollisionFilename ()
 
void setSolidCollisionFilename (std::string val)
 
std::string getClickableCollisionFilename ()
 
void setClickableCollisionFilename (std::string val)
 
bool getBAutoClickBox ()
 
void setBAutoClickBox (bool val)
 
bool getBDisableCollision ()
 
void setBDisableCollision (bool val)
 
bool getBClientOnly ()
 
void setBClientOnly (bool val)
 
- Public Member Functions inherited from PropertyClass
virtual char * getClassName ()=0
 Gets the class name of the derived class in the format class T[*].
 
virtual void * getPropertyList ()=0
 Constructs and caches the PropertyList for the derived class, adding all reflected members and member functions.
 
virtual bool copy (uint32_t a1)=0
 Copies the property class data.
 
virtual void * serialize (void *a2, uint32_t a3)=0
 Serializes the derived class's PropertyList as XML.
 
virtual bool onCreated ()=0
 Called when the PropertyClass is created.
 
template<typename T >
CYRUS T * as ()
 Casts this to a pointer of type T.
 
virtual void onPostLoad ()=0
 Called when the PropertyClass is loaded, i.e., initialize is called and onCreated has finished.
 
virtual void onFinalizeLoad ()=0
 
virtual bool shouldNotSerialize ()=0
 Determines if the PropertyClass should not be serialized.
 

Additional Inherited Members

- Public Attributes inherited from BehaviorTemplate
std::string name
 

Member Function Documentation

◆ getBEnableDamping()

bool PhysicsBehaviorTemplate::getBEnableDamping ( )
inline

◆ getBEnableGravity()

bool PhysicsBehaviorTemplate::getBEnableGravity ( )
inline

◆ getBStartsEnabled()

bool PhysicsBehaviorTemplate::getBStartsEnabled ( )
inline

◆ getFAngDampingX()

float PhysicsBehaviorTemplate::getFAngDampingX ( )
inline

◆ getFAngDampingY()

float PhysicsBehaviorTemplate::getFAngDampingY ( )
inline

◆ getFAngDampingZ()

float PhysicsBehaviorTemplate::getFAngDampingZ ( )
inline

◆ getFCenterX()

float PhysicsBehaviorTemplate::getFCenterX ( )
inline

◆ getFCenterY()

float PhysicsBehaviorTemplate::getFCenterY ( )
inline

◆ getFCenterZ()

float PhysicsBehaviorTemplate::getFCenterZ ( )
inline

◆ getFDampingX()

float PhysicsBehaviorTemplate::getFDampingX ( )
inline

◆ getFDampingY()

float PhysicsBehaviorTemplate::getFDampingY ( )
inline

◆ getFDampingZ()

float PhysicsBehaviorTemplate::getFDampingZ ( )
inline

◆ getMassShapes()

List< MassShapeTemplate * > * PhysicsBehaviorTemplate::getMassShapes ( )
inline

◆ getNSimulationMethod()

PhysicsBehaviorTemplate__SimulationMethod PhysicsBehaviorTemplate::getNSimulationMethod ( )
inline

◆ setBEnableDamping()

void PhysicsBehaviorTemplate::setBEnableDamping ( bool val)
inline

◆ setBEnableGravity()

void PhysicsBehaviorTemplate::setBEnableGravity ( bool val)
inline

◆ setBStartsEnabled()

void PhysicsBehaviorTemplate::setBStartsEnabled ( bool val)
inline

◆ setFAngDampingX()

void PhysicsBehaviorTemplate::setFAngDampingX ( float val)
inline

◆ setFAngDampingY()

void PhysicsBehaviorTemplate::setFAngDampingY ( float val)
inline

◆ setFAngDampingZ()

void PhysicsBehaviorTemplate::setFAngDampingZ ( float val)
inline

◆ setFCenterX()

void PhysicsBehaviorTemplate::setFCenterX ( float val)
inline

◆ setFCenterY()

void PhysicsBehaviorTemplate::setFCenterY ( float val)
inline

◆ setFCenterZ()

void PhysicsBehaviorTemplate::setFCenterZ ( float val)
inline

◆ setFDampingX()

void PhysicsBehaviorTemplate::setFDampingX ( float val)
inline

◆ setFDampingY()

void PhysicsBehaviorTemplate::setFDampingY ( float val)
inline

◆ setFDampingZ()

void PhysicsBehaviorTemplate::setFDampingZ ( float val)
inline

◆ setMassShapes()

void PhysicsBehaviorTemplate::setMassShapes ( List< MassShapeTemplate * > * val)
inline

◆ setNSimulationMethod()

void PhysicsBehaviorTemplate::setNSimulationMethod ( PhysicsBehaviorTemplate__SimulationMethod val)
inline