MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / updateDt

Method updateDt

source/game/scripting/StarLuaComponents.hpp:271–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270template <typename Base>
271float LuaUpdatableComponent<Base>::updateDt(float dt) const {
272 m_lastDt = dt;
273 return m_updatePeriodic.stepCount() * dt;
274}
275
276template <typename Base>
277float LuaUpdatableComponent<Base>::updateDt() const {

Callers 15

updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
tickMasterMethod · 0.80
tickMasterMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80

Calls 1

stepCountMethod · 0.80

Tested by

no test coverage detected