Added System::LocalPlayer that is always set to the entity which is the local player, available to all systems.

This commit is contained in:
2016-02-09 16:06:39 +01:00
parent d3bc48f5f7
commit c69a80f5ba
2 changed files with 20 additions and 1 deletions
+3
View File
@@ -61,6 +61,9 @@ public:
dt = 0.0;
}
// Process utility events for the System base class
m_EventBroker->Process<System>();
for (UnorderedSystems& group : m_OrderedSystemGroups) {
// Process events
for (auto& pair : group.Systems) {