Пример #1
0
 public static Sprite BuildingShoot(BuildingShoortSprite number)
 {
     return(GetSprite(@"missiles\cannon-tower_explosion.png", new IntRect(0, 32 * (int)number, 32, 32)));
 }
Пример #2
0
        public void BuildingShoot(double x, double y, BuildingShoortSprite number)
        {
            var sprite = Sprites.BuildingShoot(number);

            DrawGameUnitSprite(sprite, x, y);
        }