|
Java Universal Role Playing Engine Version 0.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.dialogs.DialogUnit
public class DialogUnit
A dialog unit object is composed by a question, some answers, and an ID code
| Constructor Summary | |
|---|---|
DialogUnit(java.lang.String code)
Dialog Unit constructor |
|
| Method Summary | |
|---|---|
void |
addAnswer(Answer ans)
Add an answer to the answers of this dialog unit |
java.util.AbstractList<Answer> |
getAnswers()
Get the answers related to this dialog unit |
java.lang.String |
getId()
Get Dialog Unit code (ID) |
java.lang.String |
getQuestion()
Get Dialog Unit question |
void |
setQuestion(java.lang.String qst)
Set Dialog Unit question |
java.lang.String |
toString()
String representation of the dialog unit |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DialogUnit(java.lang.String code)
code - The Dialog Unit code (ID)| Method Detail |
|---|
public void setQuestion(java.lang.String qst)
qst - Question textpublic java.lang.String getQuestion()
public java.lang.String getId()
public void addAnswer(Answer ans)
ans - Answer to be addedpublic java.util.AbstractList<Answer> getAnswers()
public java.lang.String toString()
toString in class java.lang.Object
|
Java Universal Role Playing Engine Version 0.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||