org.haphazard.gui.engine
Class GlobalMapUtilities

java.lang.Object
  extended byorg.haphazard.gui.engine.GlobalMapUtilities

public class GlobalMapUtilities
extends java.lang.Object

A singleton class that handles Maps


Method Summary
static GlobalMapUtilities getInstance()
          Return the instance of the GlobalMapUtilities.
 Map load(java.io.InputStream mapFile)
          Loads a map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GlobalMapUtilities getInstance()
Return the instance of the GlobalMapUtilities.

Returns:
the instance

load

public Map load(java.io.InputStream mapFile)
Loads a map

Parameters:
mapFile - The file to load from
Returns:
The map name loaded