rle.simple.player
Class PlayerLevelMgr

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

public class PlayerLevelMgr
extends PlugInBase
implements RuntimeComputer, RuntimeDataListener

Helps deal with player level and experience.


Field Summary
 
Fields inherited from class rle.core.vm.PlugInBase
config, context, parameters
 
Constructor Summary
PlayerLevelMgr()
           
 
Method Summary
 java.lang.Object compute(java.lang.String key, RuntimeData source)
          Compute a value for the given key.
 void dataChange(RuntimeDataEvent event)
           
 
Methods inherited from class rle.core.vm.PlugInBase
config, getContext, getParameters, paramMap, setConfig, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerLevelMgr

public PlayerLevelMgr()
Method Detail

compute

public java.lang.Object compute(java.lang.String key,
                                RuntimeData source)
Description copied from interface: RuntimeComputer
Compute a value for the given key.

Specified by:
compute in interface RuntimeComputer

dataChange

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