public Prisera(Mapa mapa, int kdex, int kdey, char charSmer) { this.mapa = mapa; this.x = kdex; this.y = kdey; Smer = "<^>v".IndexOf(charSmer); }
private void button1_Click(object sender, EventArgs e) { g = CreateGraphics(); mapa = new Mapa("plan.txt", "ikonky.png"); this.Text = "Zbývá sebrat " + mapa.ZbyvaDiamantu + " diamantů"; timer1.Enabled = true; button1.Visible = false; }
public Diamant(Mapa mapa, int kdex, int kdey) : base(mapa, kdex, kdey) { }
public Hrdina(Mapa mapa, int kdex, int kdey) { this.mapa = mapa; this.x = kdex; this.y = kdey; }
public Balvan(Mapa mapa, int kdex, int kdey) { this.mapa = mapa; this.x = kdex; this.y = kdey; }