Пример #1
0
 public void DeathEyes(PaintEventArgs e, Death_Wizard dk)
 {
     if (GameScreen.aiTurn == true)
     {
         objectX -= 4;
     }
     else
     {
         objectX += 4;
     }
     if (GameScreen.aiTurn == false)
     {
         e.Graphics.DrawString(dk.name + " used Death Eyes!", GameScreen.drawFont, GameScreen.drawBrush, 200, 0);
     }
     else
     {
         e.Graphics.DrawString(GameScreen.aiDK.name + " used Death Eyes!", GameScreen.drawFont, GameScreen.drawBrush, 200, 0);
     }
     if (GameScreen.aiTurn == true)
     {
         e.Graphics.DrawImage(Properties.Resources.DeathEyes, GameScreen.aiDK.objectX, GameScreen.aiDK.objectY, GameScreen.aiDK.objectSize, GameScreen.aiDK.objectSize);
     }
     else
     {
         e.Graphics.DrawImage(Properties.Resources.DeathEyes, dk.objectX, dk.objectY, dk.objectSize, dk.objectSize);
     }
     GameScreen.AttackEndDetails();
 }
 public void DeathHand(PaintEventArgs e, Death_Wizard dk)
 {
     objectX += 4;
     e.Graphics.DrawString(dk.name + " used Death Hand!", GameScreen.drawFont, GameScreen.drawBrush, 200, 0);
     e.Graphics.DrawImage(Properties.Resources.Wizardry_Logo, dk.objectX, dk.objectY, dk.objectSize, dk.objectSize);
     GameScreen.AttackEndDetails();
 }