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

Method setVisible

source/game/StarTechController.cpp:398–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398void TechController::TechAnimator::setVisible(bool visible) {
399 this->visible.set(visible);
400 if (!visible)
401 dynamicTarget.stopAudio();
402}
403
404bool TechController::TechAnimator::isVisible() const {
405 return visible.get();

Callers 1

updateAnimatorsMethod · 0.80

Calls 2

stopAudioMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected