Exemplo n.º 1
0
        public void CreateMap()
        {
            Map = new Tile[3, 3];
            //Tile(UP, DOWN, LEFT, RIGHT)
            //[x,y]
            Map[0, 0] = new Tile(true, false, true, false);
            Map[1, 0] = new Tile(true, true, false, false);
            Map[2, 0] = new Tile(true, false, false, true);

            Map[0, 1] = new Tile(false, false, true, false);
            Map[1, 1] = new Tile(true, true, false, true);
            Map[2, 1] = new Tile(false, false, true, false);

            Map[0, 2] = new Tile(false, true, true, false);
            Map[1, 2] = new Tile(true, true, false, false);
            Map[2, 2] = new Tile(false, true, false, true);

            theseus  = new Theseus(1, 2);
            minotaur = new Minotaur(1, 0);
        }
        public void CreateMap()
        {
            Map = new Tile[3, 3];
            //Tile(UP, DOWN, LEFT, RIGHT)
            //[x,y]
            Map[0, 0] = new Tile(true, false, true, false);
            Map[1, 0] = new Tile(true, true, false, false);
            Map[2, 0] = new Tile(true, false, false, true);

            Map[0, 1] = new Tile(false, false, true, false);
            Map[1, 1] = new Tile(true, true, false, true);
            Map[2, 1] = new Tile(false, false, true, false);

            Map[0, 2] = new Tile(false, true, true, false);
            Map[1, 2] = new Tile(true, true, false, false);
            Map[2, 2] = new Tile(false, true, false, true);

            theseus = new Theseus(1, 2);
            minotaur = new Minotaur(1, 0);
        }