moagg.level
Class MapReader

java.lang.Object
  extended by moagg.level.MapReader

public class MapReader
extends java.lang.Object


Constructor Summary
MapReader()
           
 
Method Summary
static MapReader getInstance()
           
 Map readMap(java.lang.String mission, java.lang.String map, com.golden.gamedev.GameObject loader)
           
protected  Map readMapV1(java.io.DataInputStream dis)
           
protected  Map readMapV2(java.io.DataInputStream dis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapReader

public MapReader()
Method Detail

getInstance

public static MapReader getInstance()

readMap

public Map readMap(java.lang.String mission,
                   java.lang.String map,
                   com.golden.gamedev.GameObject loader)

readMapV1

protected Map readMapV1(java.io.DataInputStream dis)
                 throws java.io.IOException,
                        MapReaderException
Throws:
java.io.IOException
MapReaderException

readMapV2

protected Map readMapV2(java.io.DataInputStream dis)
                 throws java.io.IOException,
                        MapReaderException
Throws:
java.io.IOException
MapReaderException


Copyright © 2008. All Rights Reserved.