public override void interact(Hrac hrac) { if (alive) { hrac.prictiExpy(this.xpReward); this.alive = false; } // Form1.textOfbox; //Form1.debugText = ""; }
public override void interact(Hrac hrac) { Form1.setText("sek! "); this.zivoty -= 1; if (this.zivoty == 1) { hrac.prictiExpy(hrac.getPocetPokacenychStromu() + this.xpReward); alive = false; } }
public void atttackPlayer(Hrac nepratelskyHrac) { nepratelskyHrac.setVisible(false); }
public virtual void interact(Hrac hrac) { MessageBox.Show("interagujes se ctvereckem", null, MessageBoxButtons.YesNo); }