Java Universal Role Playing Engine Version 0.3.9

jurpe.dialogs
Class DialogManager

java.lang.Object
  extended by jurpe.dialogs.DialogManager

public class DialogManager
extends java.lang.Object

A dialog manager class handles the dialog between two characters. It is based upon a dialog written in XML and parsed by a DialogParser class.


Constructor Summary
DialogManager(java.lang.String path)
          Dialog Manager
 
Method Summary
 DialogUnit getUnit(java.lang.String code)
          Get the specified dialog unit from the dialog in the XML file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogManager

public DialogManager(java.lang.String path)
Dialog Manager

Parameters:
path - The path of the XML file containing the dialog
See Also:
DialogUnit
Method Detail

getUnit

public DialogUnit getUnit(java.lang.String code)
Get the specified dialog unit from the dialog in the XML file

Parameters:
code - Dialog Unit code to be extracted
Returns:
The Dialog Unit with the given code

Java Universal Role Playing Engine Version 0.3.9

Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.