Exemplo n.º 1
0
        public void Load(Game1 game)
        {
            //load the bitmaps associated with the "base" and "head of the tank
            this._tank_base = game.Content.Load<Texture2D>(bitmap_base_path);
            this._tank_head = game.Content.Load<Texture2D>(bitmap_head_path);

            bitmap_base_center = new Vector2(13, 20);
            bitmap_head_center = new Vector2(9, 21);
        }
Exemplo n.º 2
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }