de.rico.adventure.io
Class ConversationReader

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

public class ConversationReader
extends java.lang.Object

This class can be used to read in XML style conversation files.

Author:
Frank Bruns

Constructor Summary
ConversationReader()
           
 
Method Summary
 java.util.List<Conversation> readConversations(java.lang.String path, Chapter chapter, InputManager input)
          Reads the conversations data from the specified file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversationReader

public ConversationReader()
Method Detail

readConversations

public java.util.List<Conversation> readConversations(java.lang.String path,
                                                      Chapter chapter,
                                                      InputManager input)
Reads the conversations data from the specified file.

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