アットウィキロゴ

jhk

using Microsoft.Xna.Framework;

public class Test : Game
{
    public Test()
    {
        Window.Title = "コンストラクタ→";
    }

    protected override void Initialize()
    {
        Window.Title += "Initialize→";
        base.Initialize();
    }

    static void Main(string[] args)
    {
        using (Game game = new Test())
        {
            game.Window.Title += "Run()メソッド手前→";
            game.Run();
        }
    }
}
最終更新:2011年01月30日 13:35