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

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

public class IntermediateFeedbackMode
extends DefaultVisualFeedbackMode

A feedback mode that is less generous than Expert for right answers and less harsh for wrong answers. old college try.


Field Summary
 
Fields inherited from class net.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode
decrement, increment, initialSize, message, minimumSize, name, size
 
Constructor Summary
IntermediateFeedbackMode()
          Creates a new IntermediateFeedbackMode 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 10 questions.
 String toString()
          Gets a descriptive name for this mode.
 void wrongEvent()
          Decrements image size for a wrong answer.
 
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

IntermediateFeedbackMode

public IntermediateFeedbackMode()
Creates a new IntermediateFeedbackMode instance.

Method Detail

rightEvent

public void rightEvent()
Increments the size, gives bonuses every 10 questions.

Overrides:
rightEvent in class DefaultVisualFeedbackMode

wrongEvent

public void wrongEvent()
Decrements image size for a wrong answer.

Overrides:
wrongEvent in class DefaultVisualFeedbackMode

getMessage

public String getMessage()
Gives an encouraging message.

Overrides:
getMessage in class DefaultVisualFeedbackMode
Returns:
a String value

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