public virtual void Destruct() { m_combat_client = null; m_logic_world = null; m_scheduler.Destruct(); m_scheduler = null; m_render_entity_manager.Destruct(); m_render_entity_manager = null; }
public virtual void Initialize(CombatClient combat_client, LogicWorld logic_world) { #if ALLOW_UPDATE AddComponent <RenderWorldEveryFrameUpdater>(true); #endif m_current_time = FixPoint.Zero; m_combat_client = combat_client; m_logic_world = logic_world; m_render_entity_manager = new RenderEntityManager(logic_world, this); m_scheduler = new TaskScheduler <RenderWorld>(this); m_render_message_processor = CreateRenderMessageProcessor(); }
public void Destruct() { m_render_world = null; m_logic_world = null; m_render_entity_manager = null; }
public RenderMessageProcessor(RenderWorld render_world) { m_render_world = render_world; m_logic_world = render_world.GetLogicWorld(); m_render_entity_manager = render_world.GetRenderEntityManager(); }