コード例 #1
0
ファイル: Player.cs プロジェクト: Cesque/Alterlands
        public Player(Game1 game)
        {
            Width = 24;
            Height = 32;

            Sprite = new Texture2D(game.GraphicsDevice, 1, 1);
            Sprite.SetData<Color>(new Color[] { Color.White });

            Position = new Vector2(400, 300);

            Facing = Direction.DOWN;

            SwordHitbox = null;
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: Cesque/Alterlands
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }