public bool LevelPlaying() { //The level is playing if it is not paused and the game is not over return((pauseMenuActive.eval() || gameOverActive.eval()) == false); }