YNA Framework - Game and engine initialization
| 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