Package com.bdtripp.hauntedhouse.engine
Class WorldBuilder
java.lang.Object
com.bdtripp.hauntedhouse.engine.WorldBuilder
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
WorldBuilder
public WorldBuilder()Creates a new WorldBuilder instance.
-
-
Method Details
-
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
-