MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / isScreen

Method isScreen

src/Engine/State.cpp:95–98  ·  view source on GitHub ↗

* Returns whether this is a full-screen state. * This is used to optimize the state machine since full-screen * states automatically cover the whole screen, (whether they * actually use it all or not) so states behind them can be * safely ignored since they'd be covered up. * @return True if it's a screen, False otherwise. */

Source from the content-addressed store, hash-verified

93 * @return True if it's a screen, False otherwise.
94 */
95bool State::isScreen() const
96{
97 return _screen;
98}
99
100/**
101 * Toggles the full-screen flag. Used by windows to

Callers 2

runMethod · 0.80
WindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected