iFun Engine API  1.0.0-b3630
Great Technology for Great Games
 All Classes Files Functions Variables Typedefs Macros
Public Member Functions | List of all members
fun::World::Object Class Reference

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 string & GetName () 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)