dip.world
Class WorldFactory

java.lang.Object
  extended bydip.world.WorldFactory

public class WorldFactory
extends java.lang.Object

A WorldFactory creates World objects from XML map data.


Method Summary
 World createWorld(Variant variant)
          Generates a World given the supplied Variant information
static WorldFactory getInstance()
          Get an instance of the WorldFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WorldFactory getInstance()
Get an instance of the WorldFactory


createWorld

public World createWorld(Variant variant)
                  throws InvalidWorldException
Generates a World given the supplied Variant information

Throws:
InvalidWorldException


Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.