rle.simple.action
Class Mover

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by rle.core.ui.UiActionBase
          extended by rle.simple.action.Mover
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, UiAction, PlugIn

public class Mover
extends UiActionBase

Class that demonstrates a very simple movement and melee capability.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class rle.core.ui.UiActionBase
config, context, parameters
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
Mover()
           
 
Method Summary
 void doAction()
          Perform an action on the Game Thread.
 void setConfig(InfoView view)
          Set the configuring InfoView.
 
Methods inherited from class rle.core.ui.UiActionBase
actionPerformed, config, getContext, getEvent, getParameters, paramMap, setParameters
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

Mover

public Mover()
Method Detail

doAction

public void doAction()
Description copied from interface: UiAction
Perform an action on the Game Thread.


setConfig

public void setConfig(InfoView view)
Description copied from interface: PlugIn
Set the configuring InfoView.

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