Exemple #1
0
 public void DrawDestroyedTowerEnemy(double x, double y, int?state = null)
 {
     DrawGameUnitSprite(Sprites.TowerDestroyed_Enemy(), x, y);
     if (!state.HasValue)
     {
     }
     else
     {
         DrawGameUnitSprite(Sprites.Explosion(state.Value), x, y);
     }
 }
Exemple #2
0
 public void DrawDestroyedBaseUnion(double x, double y, int?state = null)
 {
     DrawGameUnitSprite(Sprites.BaseDestroyed_Union(), x, y);
     if (!state.HasValue)
     {
     }
     else
     {
         DrawGameUnitSprite(Sprites.Explosion(state.Value), x, y);
     }
 }