Home
last modified time | relevance | path

Searched refs:GameState (Results 1 – 2 of 2) sorted by relevance

/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp29 mGameState = GameState::FailedToLoad; in load()
34 mGameState = GameState::FailedToLoad; in load()
43 mGameState = GameState::FailedToLoad; in load()
47 mGameState = GameState::Playing; in load()
68 if (mGameState != GameState::Playing){ in tap()
87 case GameState::Playing: in tick()
96 case GameState::Loading: in tick()
100 case GameState::FailedToLoad: in tick()
DGame.h37 enum class GameState { enum
75 std::atomic<GameState> mGameState { GameState::Loading };