Skip to content

Instantly share code, notes, and snippets.

@demonixis demonixis/Game2.cs

Created May 21, 2012
Embed
What would you like to do?
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
You can’t perform that action at this time.