Class WorldBuilder

java.lang.Object
com.bdtripp.hauntedhouse.engine.WorldBuilder

public class WorldBuilder extends Object
Builds the complete game world. The WorldBuilder creates all rooms, items, and characters, places them in their initial locations, and wires the room exits so the player can navigate the environment.
Author:
Brian Tripp
  • Constructor Details

    • WorldBuilder

      public WorldBuilder()
      Creates a new WorldBuilder instance.
  • Method Details

    • createWorld

      public World createWorld()
      Create the game world. Create all of the items, rooms, characters, etc and place them in rooms and connect wire up the exits of the rooms.
      Returns:
      the game world