MCPcopy Create free account
hub / github.com/EasyRPG/Player / IsVisible

Method IsVisible

src/window_interpreter.cpp:300–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300bool Window_Interpreter::UiSubActionLine::IsVisible() const {
301 for (auto v : this->visibility_delegates) {
302 if (v())
303 return true;
304 }
305 return false;
306}
307
308void Window_Interpreter::UiSubActionLine::Update(Window_Selectable& parent) {
309 if (actions.size() == 0 || !visibility_delegates[this->index]())

Callers 4

RefreshMethod · 0.45
DrawDescriptionLinesMethod · 0.45
GetSelectedActionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected