zork2Class
Class QuestionOrdeal

java.lang.Object
  |
  +--zork2Class.Ordeal
        |
        +--zork2Class.QuestionOrdeal
Direct Known Subclasses:
WithoutQCM, WithQCM

public abstract class QuestionOrdeal
extends Ordeal

classe : QuestionOrdeal.java
the abstract definition of question ordeal

Author:
Michel de VERDELHAN, Fabien BOYERE

Field Summary
 
Fields inherited from class zork2Class.Ordeal
description, name, recompense
 
Constructor Summary
QuestionOrdeal()
           
 
Method Summary
 java.lang.String getAnswer()
          Returns the answer.
 java.lang.String getQuestion()
          Returns the question.
 void setAnswer(java.lang.String answer)
          Sets the answer.
 void setQuestion(java.lang.String question)
          Sets the question.
 
Methods inherited from class zork2Class.Ordeal
appReward, doOrdeal, getDescription, getName, getRecompense, ordealSuccess, setDescription, setName, setRecompense
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionOrdeal

public QuestionOrdeal()
Method Detail

getAnswer

public java.lang.String getAnswer()
Returns the answer.

Returns:
String

getQuestion

public java.lang.String getQuestion()
Returns the question.

Returns:
String

setAnswer

public void setAnswer(java.lang.String answer)
Sets the answer.

Parameters:
answer - The answer to set

setQuestion

public void setQuestion(java.lang.String question)
Sets the question.

Parameters:
question - The question to set