예제 #1
0
파일: World.cs 프로젝트: Jemeyr/lizard
        public World(Player p)
        {
            tileMap = new TileMap(64, p.vpSize,this);
            blocks = new List<Block>();

            this.player = p;

            ReadIn();
            /*
            Lizard.addLizard(TileMap.tiles[41, 36]);
            Lizard.addLizard(TileMap.tiles[42, 36]);
            Lizard.addLizard(TileMap.tiles[41, 37]).block  = new oldworld.block.WoodBlock(TileMap.tiles[41,37].position);
            */
        }
예제 #2
0
파일: World.cs 프로젝트: Jemeyr/lizard
        public World(Player p)
        {
            this.player = p;

            bgTileMap = new BgTileMap(64, player.vpSize, this);
            tileMap = new TileMap(64, this);

            blocks = new List<Block>();

            LoadLevel("level.txt");

            Lizard.addLizard(TileMap.tiles[82, 72]);
            Lizard.addLizard(TileMap.tiles[84, 72]);
               // Lizard.addLizard(TileMap.tiles[82, 74]).block = new world.block.TreeBlock(TileMap.tiles[41, 37].position);
        }