示例#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;
 }