de.rico.adventure.io
Class ChapterReader

java.lang.Object
  extended by de.rico.adventure.io.ChapterReader

public class ChapterReader
extends java.lang.Object

This class can be used to read in XML style chapter initialization files (.chp-files).

Author:
Frank Bruns

Constructor Summary
ChapterReader()
           
 
Method Summary
 Chapter readChapter(java.lang.String path, InputManager input)
          Reads the games chapter data from the specified file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChapterReader

public ChapterReader()
Method Detail

readChapter

public Chapter readChapter(java.lang.String path,
                           InputManager input)
Reads the games chapter data from the specified file.

Parameters:
path - filepath + name of the file to load from
input - input manager object