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

Method SystemObject

source/game/StarSystemWorld.cpp:319–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319SystemObject::SystemObject(SystemObjectConfig config, Uuid uuid, Vec2F const& position, JsonObject parameters)
320 : m_config(std::move(config)), m_uuid(std::move(uuid)), m_spawnTime(0.0f), m_parameters(std::move(parameters)) {
321 setPosition(position);
322 init();
323}
324
325SystemObject::SystemObject(SystemObjectConfig config, Uuid uuid, Vec2F const& position, double spawnTime, JsonObject parameters)
326 : m_config(std::move(config)), m_uuid(std::move(uuid)), m_spawnTime(std::move(spawnTime)), m_parameters(std::move(parameters)) {

Callers

nothing calls this directly

Calls 13

initFunction · 0.85
singletonClass · 0.85
UuidClass · 0.85
jsonToVec2FFunction · 0.85
nameGeneratorMethod · 0.80
getStringMethod · 0.80
systemObjectConfigMethod · 0.80
getDoubleMethod · 0.80
containsMethod · 0.45
generateNameMethod · 0.45
getObjectMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected