public EndLevelScreen(CubeGame game, string levelName, PlayScreen level) : base(game) { pLevelName = levelName; pSaveData = SaveData.Load(pLevelName); mLevel = level; mTextBox = new TextBox(game, game); mTextBox.Visible = false; bSendingScore = false; bSentScore = false; // TODO: Replace Tester with user's name // pSaveData.AddScore( pScore, "The World's #1" ); // pSaveData.Save( pLevelName ); }
public GameConsole( Game game, IInputProvider inputProvider ) : base(game, inputProvider) { mTextBox = new TextBox( game, inputProvider ); InputPrompt = DEFAULT_INPUT_PROMPT; }