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

Method Drawable

source/game/StarDrawable.cpp:108–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108Drawable::Drawable()
109 : color(Color::White), fullbright(false) {}
110
111Drawable::Drawable(Json const& json) {
112 if (auto line = json.opt("line")) {

Callers

nothing calls this directly

Calls 15

jsonToLine2FFunction · 0.85
jsonToPolyFFunction · 0.85
identityClass · 0.85
jsonToMat3FFunction · 0.85
singletonClass · 0.85
getFloatMethod · 0.80
getBoolMethod · 0.80
imageMetadataDatabaseMethod · 0.80
optFloatMethod · 0.80
optMethod · 0.45
toStringMethod · 0.45
imageSizeMethod · 0.45

Tested by

no test coverage detected