using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
public class Test : Game
{
private GraphicsDeviceManager graphics;
public Test()
{
graphics = new GraphicsDeviceManager(this);
}
protected override void Draw(GameTime gameTime)
{
graphics.GraphicsDevice.Clear(Color.Pink);
base.Draw(gameTime);
}
static void Main(string[] args)
{
using (Game game = new Test())
game.Run();
}
}
最終更新:2011年01月30日 13:39