예제 #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);
        }
예제 #2
0
파일: Form1.cs 프로젝트: georgeus19/unix
        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;
        }
예제 #3
0
 public Diamant(Mapa mapa, int kdex, int kdey)
     : base(mapa, kdex, kdey)
 {
 }
예제 #4
0
 public Hrdina(Mapa mapa, int kdex, int kdey)
 {
     this.mapa = mapa;
     this.x    = kdex;
     this.y    = kdey;
 }
예제 #5
0
 public Balvan(Mapa mapa, int kdex, int kdey)
 {
     this.mapa = mapa;
     this.x    = kdex;
     this.y    = kdey;
 }