def __init__(self): state_log("Creating player quit level state") self.name = "Player Quit Level State"
def enter_state(self): state_log("Entry of GameLevelQuit should taunt the user for cowardice and offer to play again")
def player_picks_level(self, level): state_log( "Player picked level " + str(level)) self.update_state( createGamePlayingLevel(level) )
def player_returns_to_menu(self): state_log("player returns to main menu") self.update_state( createGameShowingMenu() )
def __init__(self): state_log("Creating level selection state") self.name = "Player Selects Level State"
def __init__(self): state_log("Creating menu state") self.name = "Showing Menu State"
def player_picks_play(self): state_log("player advances to level selection") self.update_state( createGameLevelSelect() )
def enter_state(self): state_log("Entry of GameLevelLost should mock the user and offer quit or play again")
def __init__(self): state_log("Creating player lost level state") self.name = "Player Lost Level State"