SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
World Class Reference

#include <WorldSimulation.h>

Collaboration diagram for World:
Collaboration graph

Public Member Functions

 World (EntityManager &em)
 
void addPlayer (Entity *ent)
 
void update (const ACE_Time_Value &tick_timer)
 
float time_of_day () const
 

Public Attributes

float sim_frame_time = 1
 

Protected Member Functions

void physicsStep (Entity *e, uint32_t msec)
 
void effectsStep (Entity *e, uint32_t msec)
 
void updateEntity (Entity *e, const ACE_Time_Value &dT)
 

Protected Attributes

EntityManagerref_ent_mager
 
float m_time_of_day = 8.0f
 
ACE_Time_Value prev_tick_time
 

Constructor & Destructor Documentation

World::World ( EntityManager em)
inline

Member Function Documentation

float World::time_of_day ( ) const
inline

Here is the caller graph for this function:

Member Data Documentation

float World::m_time_of_day = 8.0f
protected
ACE_Time_Value World::prev_tick_time
protected
EntityManager& World::ref_ent_mager
protected
float World::sim_frame_time = 1

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