/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public void SetData(string main, Game1.GameState currGameState) { textToDraw = main; this.currentGameState = currGameState; switch (currentGameState) { case Game1.GameState.START: case Game1.GameState.LEVEL_CHANGE: secondaryTextToDraw = "Press Enter To Begin The game"; break; case Game1.GameState.END: secondaryTextToDraw = "Press Enter to Exit The game"; break; } }
public void SetData(string main, Game1.GameState currGameState) { textToDraw = main; this.currentGameState = currGameState; #if(XBOX360) string buttons = "START"; #else string buttons = "ENTER or the GamePad's START BUTTON"; #endif switch (currentGameState) { case Game1.GameState.START: case Game1.GameState.LEVEL_CHANGE: secondaryTextToDraw = "Press " + buttons + " to begin"; break; case Game1.GameState.END: secondaryTextToDraw = "Press " + buttons + " to quit"; break; } }
public void SetData(string main, Game1.GameState currGameState) { textToDraw = main; this.currentGameState = currGameState; switch (currentGameState) { case Game1.GameState.START: case Game1.GameState.LEVEL_CHANGE: secondaryTextToDraw = "Press ENTER to begin"; break; case Game1.GameState.END: secondaryTextToDraw = "Press ENTER to quit"; break; } }