Example #1
0
        public Prisera(Mapa mapa, int kdex, int kdey, char charSmer)
        {
            this.mapa = mapa;
            this.x    = kdex;
            this.y    = kdey;

            Smer = "<^>v".IndexOf(charSmer);
        }
Example #2
0
        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;
        }
Example #3
0
 public Diamant(Mapa mapa, int kdex, int kdey)
     : base(mapa, kdex, kdey)
 {
 }
Example #4
0
 public Hrdina(Mapa mapa, int kdex, int kdey)
 {
     this.mapa = mapa;
     this.x    = kdex;
     this.y    = kdey;
 }
Example #5
0
 public Balvan(Mapa mapa, int kdex, int kdey)
 {
     this.mapa = mapa;
     this.x    = kdex;
     this.y    = kdey;
 }