CObject Class Reference

The class used for representing objects in the object module. More...

#include <ObjectModule.h>

Inheritance diagram for CObject:

CCommon

List of all members.

Public Member Functions

 CObject (CObjectModule *m, int id)
 ~CObject ()
 Destructor.
void Serialize (CPacket *packet)
 Serializes this object into a packet.
void Deserialize (CPacket *packet)
 Deserializes this object from packet.
int GetType ()
 Returns TYPE_COBJECT.
int GetPhysicsMode ()
 "physics" property getter. See OPSIMUS Scenario Scripting Guide for details.
void SetPhysicsMode (int m)
 "physics" property setter. See OPSIMUS Scenario Scripting Guide for details.
Vector3 GetBox ()
 "box" property getter. See OPSIMUS Scenario Scripting Guide for details.
void SetBox (Vector3 box)
 "box" property setter. See OPSIMUS Scenario Scripting Guide for details.
string GetAnimation ()
 "animation" property getter. See OPSIMUS Scenario Scripting Guide for details.
void SetAnimation (string name)
 "animation" property setter. See OPSIMUS Scenario Scripting Guide for details.
void SetALoop (bool tf)
 "aloop" property setter. See OPSIMUS Scenario Scripting Guide for details.
bool GetALoop ()
 "aloop" property getter. See OPSIMUS Scenario Scripting Guide for details.
void SetOrder (float speed)
 "order" property setter. See OPSIMUS Scenario Scripting Guide for details.
void Update (float seconds)
 Executes the CObject for a number of seconds.
void SetFromString (const char *prop, const char *value)
 Derived from CCommon::SetFromString.
void CloneInto (CCommon *c)
 Derived from CCommon::CloneInto.
float GetDensity ()
 "density" property getter. See OPSIMUS Scenario Scripting Guide for details.
float GetMass ()
 "mass" property getter. See OPSIMUS Scenario Scripting Guide for details.
void SetDensity (float d)
 "density" property setter. See OPSIMUS Scenario Scripting Guide for details.
void SetMass (float m)
 "mass" property setter. See OPSIMUS Scenario Scripting Guide for details.
void Set (const char *prop, object value)
 Derived from CCommon::Set.
object Get (const char *prop)
 Derived from CCommon::Get.


Detailed Description

The class used for representing objects in the object module.

Constructor & Destructor Documentation

CObject::CObject ( CObjectModule m,
int  id 
)

Constructor.

Parameters:
m The module that this instance is bound to.
id The id of this instance.


The documentation for this class was generated from the following file:

Generated on Fri Jun 13 19:46:38 2008 for OPSIMUS by  doxygen 1.5.5