예제 #1
0
 public void DrawDeadFetishBlowdartEnemy(double x, double y, double angle, UnitStateSprite?state1 = null, CorpseSprite?state2 = null)
 {
     if (state2.HasValue)
     {
         DrawGameUnitSprite(Sprites.Corpses_Neutral(angle, state2.Value), x, y);
     }
     else if (state1.HasValue)
     {
         DrawGameUnitSprite(Sprites.FetishBlowdart_Enemy(angle, state1.Value), x, y);
     }
 }
예제 #2
0
 public void DrawDeadOrcWoodcutterEnemy(double x, double y, double angle, UnitStateSprite?state1 = null, CorpseSprite?state2 = null)
 {
     if (state2.HasValue)
     {
         DrawGameUnitSprite(Sprites.Corpses_Neutral(angle, state2.Value), x, y);
     }
     else if (state1.HasValue)
     {
         DrawGameUnitSprite(Sprites.OrcWoodcutter_Enemy(angle, state1.Value), x, y);
     }
 }
예제 #3
0
 public void DrawDeadWizardUnion(double x, double y, double angle, UnitStateSprite?state1 = null, CorpseSprite?state2 = null)
 {
     if (state2.HasValue)
     {
         DrawGameUnitSprite(Sprites.Corpses_Neutral(angle, state2.Value), x, y);
     }
     else if (state1.HasValue)
     {
         DrawGameUnitSprite(Sprites.Wizard_Union(angle, state1.Value), x, y);
     }
 }