SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
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, const float player_fade_in, MapInstance *owner_instance)
 
void update (const ACE_Time_Value &tick_timer)
 
float time_of_day () const
 

Public Attributes

float sim_frame_time = 1
 
float accumulated_time =0
 

Protected Member Functions

void physicsStep (Entity *e, uint32_t msec)
 
void effectsStep (Entity *e, uint32_t msec)
 
void checkPowerTimers (Entity *e, uint32_t msec)
 
bool isPlayerDead (Entity *e)
 
void regenHealthEnd (Entity *e, uint32_t msec)
 
void updateEntity (Entity *e, const ACE_Time_Value &dT)
 
void collisionStep (Entity *e, uint32_t msec)
 

Protected Attributes

EntityManagerref_ent_mager
 
float m_player_fade_in
 
float m_time_of_day = 8.0f
 
ACE_Time_Value prev_tick_time
 
MapInstancem_owner_instance
 

Constructor & Destructor Documentation

◆ World()

World::World ( EntityManager em,
const float  player_fade_in,
MapInstance owner_instance 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ time_of_day()

float World::time_of_day ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ accumulated_time

float World::accumulated_time =0

◆ m_owner_instance

MapInstance* World::m_owner_instance
protected

◆ m_player_fade_in

float World::m_player_fade_in
protected

◆ m_time_of_day

float World::m_time_of_day = 8.0f
protected

◆ prev_tick_time

ACE_Time_Value World::prev_tick_time
protected

◆ ref_ent_mager

EntityManager& World::ref_ent_mager
protected

◆ sim_frame_time

float World::sim_frame_time = 1

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