rle.simple
Class ExperienceQuest

java.lang.Object
  extended by rle.core.vm.PlugInBase
      extended by rle.simple.ExperienceQuest
All Implemented Interfaces:
RuntimeDataListener, PlugIn

public class ExperienceQuest
extends PlugInBase
implements RuntimeDataListener

Primitive quest implementation. Winning the game requires reaching the amount of experience specified by the PlugIn parameter "experience-required"


Field Summary
 
Fields inherited from class rle.core.vm.PlugInBase
config, context, parameters
 
Constructor Summary
ExperienceQuest()
           
 
Method Summary
 void dataChange(RuntimeDataEvent e)
           
 void setConfig(InfoView view)
          Overridden to compute the victory amount.
 
Methods inherited from class rle.core.vm.PlugInBase
config, getContext, getParameters, paramMap, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExperienceQuest

public ExperienceQuest()
Method Detail

dataChange

public void dataChange(RuntimeDataEvent e)
Specified by:
dataChange in interface RuntimeDataListener

setConfig

public void setConfig(InfoView view)
Overridden to compute the victory amount.

Specified by:
setConfig in interface PlugIn
Overrides:
setConfig in class PlugInBase