Created
May 21, 2012 06:09
-
-
Save demonixis/2760710 to your computer and use it in GitHub Desktop.
YNA Framework - Game and engine initialization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using Yna; | |
using Yna.Display; | |
namespace Yna.Test | |
{ | |
public class Game2 : Yna.YnGame | |
{ | |
public Game2() : base(600, 400) | |
{ | |
this.Window.Title = "YNA Framework - Exemples"; | |
} | |
protected override void Initialize() | |
{ | |
base.Initialize(); | |
SwitchState(new MenuState()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment