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

Method skyFlashColor

source/game/StarSky.cpp:449–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449Color Sky::skyFlashColor() const {
450 Color res = Color::White;
451 res.setAlphaF(m_flashTimer / m_settings.queryFloat("flashTimer"));
452 return res;
453}
454
455bool Sky::flying() const {
456 if (m_flyingType == FlyingType::None)

Callers

nothing calls this directly

Calls 2

setAlphaFMethod · 0.80
queryFloatMethod · 0.80

Tested by

no test coverage detected