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); */ }
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); }