public void GenerateWorld(Overworld world) { this.world = world; worldWidth = world.GetWorldWidth(); worldHeight = world.GetWorldWidth(); cellSize = world.GetCellSize(); nextItemId = 0; nextActorId = 0; GenerateTerrain(); GenerateActors(); GenerateItems(); }