Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }