protected void ProcessRenderMessages() { List <RenderMessage> msgs = m_logic_world.GetAllRenderMessages(); if (msgs == null) { return; } int count = msgs.Count; if (count == 0) { return; } for (int i = 0; i < count; ++i) { m_render_message_processor.Process(msgs[i]); } m_logic_world.ClearRenderMessages(); }