Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/Simulation2.cpp
Show First 20 Lines • Show All 702 Lines • ▼ Show 20 Lines | void CSimulation2::PostMessage(entity_id_t ent, const CMessage& msg) const | ||||
m->m_ComponentManager.PostMessage(ent, msg); | m->m_ComponentManager.PostMessage(ent, msg); | ||||
} | } | ||||
void CSimulation2::BroadcastMessage(const CMessage& msg) const | void CSimulation2::BroadcastMessage(const CMessage& msg) const | ||||
{ | { | ||||
m->m_ComponentManager.BroadcastMessage(msg); | m->m_ComponentManager.BroadcastMessage(msg); | ||||
} | } | ||||
CSimulation2::InterfaceList CSimulation2::GetEntitiesWithInterface(int iid) | CSimulation2::InterfaceList CSimulation2::GetComponentsByInterface(int iid) | ||||
{ | { | ||||
return m->m_ComponentManager.GetEntitiesWithInterface(iid); | return m->m_ComponentManager.GetComponentsByInterface(iid); | ||||
} | } | ||||
const CSimulation2::InterfaceListUnordered& CSimulation2::GetEntitiesWithInterfaceUnordered(int iid) | SComponentDataGenerator CSimulation2::GetComponentsByInterfaceUnordered(int iid) | ||||
{ | { | ||||
return m->m_ComponentManager.GetEntitiesWithInterfaceUnordered(iid); | return m->m_ComponentManager.GetComponentsByInterfaceUnordered(iid); | ||||
} | } | ||||
const CSimContext& CSimulation2::GetSimContext() const | const CSimContext& CSimulation2::GetSimContext() const | ||||
{ | { | ||||
return m->m_SimContext; | return m->m_SimContext; | ||||
} | } | ||||
ScriptInterface& CSimulation2::GetScriptInterface() const | ScriptInterface& CSimulation2::GetScriptInterface() const | ||||
▲ Show 20 Lines • Show All 270 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator