net.sourceforge.pavlov.pluglets.feedback.random
Class BeginnerFeedbackMode

java.lang.Object
  extended by net.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode
      extended by net.sourceforge.pavlov.pluglets.feedback.random.BeginnerFeedbackMode

public final class BeginnerFeedbackMode
extends DefaultVisualFeedbackMode

A feedback mode that rewards the user for giving a quiz the old college try. Small penalty for incorrect answers, small reward for correct answers, reward for answering many questions.


Field Summary
 
Fields inherited from class net.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode
decrement, increment, initialSize, message, minimumSize, name, size
 
Constructor Summary
BeginnerFeedbackMode()
          Creates a new BeginnerFeedbackMode instance.
 
Method Summary
 String getMessage()
          Gives an encouraging message.
 String getShortName()
          Gets a menu-friendly name for this mode.
 void rightEvent()
          Increments the size, gives bonuses every 5/25 questions.
 String toString()
          Gets a descriptive name for this mode.
 void wrongEvent()
          Increments image size less than a rightEvent does, gives bonuses every 5/25 questions.
 
Methods inherited from class net.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode
getSize, setName, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeginnerFeedbackMode

public BeginnerFeedbackMode()
Creates a new BeginnerFeedbackMode instance.

Method Detail

rightEvent

public void rightEvent()
Increments the size, gives bonuses every 5/25 questions.

Overrides:
rightEvent in class DefaultVisualFeedbackMode

getMessage

public String getMessage()
Gives an encouraging message.

Overrides:
getMessage in class DefaultVisualFeedbackMode
Returns:
a String value

wrongEvent

public void wrongEvent()
Increments image size less than a rightEvent does, gives bonuses every 5/25 questions.

Overrides:
wrongEvent in class DefaultVisualFeedbackMode

getShortName

public String getShortName()
Gets a menu-friendly name for this mode.

Overrides:
getShortName in class DefaultVisualFeedbackMode
Returns:
a String value

toString

public String toString()
Gets a descriptive name for this mode.

Overrides:
toString in class DefaultVisualFeedbackMode
Returns:
a String value