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

Method init

source/game/StarSystemWorld.cpp:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void SystemObject::init() {
353 m_shouldDestroy = false;
354
355 m_xPosition.setInterpolator(lerp<float, float>);
356 m_yPosition.setInterpolator(lerp<float, float>);
357
358 m_netGroup.addNetElement(&m_xPosition);
359 m_netGroup.addNetElement(&m_yPosition);
360 m_netGroup.addNetElement(&m_orbit);
361}
362
363Uuid SystemObject::uuid() const {
364 return m_uuid;

Callers

nothing calls this directly

Calls 2

setInterpolatorMethod · 0.80
addNetElementMethod · 0.45

Tested by

no test coverage detected