iFun Engine API  1.0.0-b6053
Great Technology for Great Games
Public Member Functions | List of all members
fun::World::Object Class Reference
Inheritance diagram for fun::World::Object:

Public Member Functions

 Object (float radius)
 
 Object (int64_t id)
 
 Object (int64_t id, float radius)
 
 DECLARE_CLASS_PTR (World::Object)
 
const PointGetCoordinates () const
 
int64_t GetId () const
 
const stringGetName () const
 
const float & GetRadius () const
 
Ptr< SessionGetSession () const
 
const SphereGetSphere () const
 
int64_t GetType () const
 
bool GetValueForKey (const int64_t &key, int64_t *result) const
 
bool IsSphere ()
 
void SetKeyValue (const int64_t &key, const int64_t &value)
 
void SetName (const string &name)
 
void SetRadius (float radius)
 
void SetSession (const Ptr< Session > &session)
 
void SetType (int64_t type)