アットウィキロゴ

XNA08

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

public class Test : Game
{
    private GraphicsDeviceManager gr;

    public Test()
    {
        gr = new GraphicsDeviceManager(this);
    }

    protected override void Draw(GameTime gameTime)
    {
        gr.GraphicsDevice.Clear(Color.Red);
        base.Draw(gameTime);
    }

    static void Main(string[] args)
    {
        using (Game game01 = new Test()) game01.Run();
    }
}
最終更新:2011年01月30日 14:15