public void Sparks(PaintEventArgs e, Lightining_Wizard lk) { if (GameScreen.aiTurn == true) { objectX -= 4; } else { objectX += 4; } if (GameScreen.aiTurn == false) { e.Graphics.DrawString(lk.name + " used Sparks!", GameScreen.drawFont, GameScreen.drawBrush, 200, 0); } else { e.Graphics.DrawString(GameScreen.aiLK.name + " used Sparks!", GameScreen.drawFont, GameScreen.drawBrush, 200, 0); } if (GameScreen.aiTurn == true) { e.Graphics.DrawImage(Properties.Resources.Sparks, GameScreen.aiLK.objectX, GameScreen.aiLK.objectY, GameScreen.aiLK.objectSize, GameScreen.aiLK.objectSize); } else { e.Graphics.DrawImage(Properties.Resources.Sparks, lk.objectX, lk.objectY, lk.objectSize, lk.objectSize); } GameScreen.AttackEndDetails(); }
public void Crackle(PaintEventArgs e, Lightining_Wizard lk) { objectX += 4; e.Graphics.DrawString(lk.name + " used Crackle!", GameScreen.drawFont, GameScreen.drawBrush, 200, 0); e.Graphics.DrawImage(Properties.Resources.Crackle, lk.objectX, lk.objectY, lk.objectSize, lk.objectSize); GameScreen.AttackEndDetails(); }