MCPcopy Create free account
hub / github.com/Prograda/Skybolt / setSimTime

Method setSimTime

src/Skybolt/SkyboltSim/System/EntitySystem.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void EntitySystem::setSimTime(SecondsD newTime)
22{
23 for (const EntityPtr& entity : mWorld->getEntities())
24 {
25 entity->setSimTime(newTime);
26 }
27}
28
29void EntitySystem::advanceWallTime(SecondsD newTime, SecondsD dt)
30{

Callers 1

setTimeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected