wyvern.lib.commands
Class VerboseCommand.Verboser

java.lang.Object
  extended bywyvern.lib.commands.VerboseCommand.Verboser
All Implemented Interfaces:
AddRemoveNotify, HookCallback
Enclosing class:
VerboseCommand

public static class VerboseCommand.Verboser
extends java.lang.Object
implements AddRemoveNotify, HookCallback

A bean property that produces verbose output whenever you move.


Constructor Summary
VerboseCommand.Verboser()
           
 
Method Summary
 void hookEvent(java.lang.String hookName, CommandEvent event)
          Player moved; prints stuff out.
 void notifyAdd(PropertyList obj)
          Notifies the property that it's being added.
 void notifyRemove(PropertyList obj)
          Notifies the property that it's being removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerboseCommand.Verboser

public VerboseCommand.Verboser()
Method Detail

notifyAdd

public void notifyAdd(PropertyList obj)
Notifies the property that it's being added.

Specified by:
notifyAdd in interface AddRemoveNotify
Parameters:
obj - the GameObject whose property list we're being added to

notifyRemove

public void notifyRemove(PropertyList obj)
Notifies the property that it's being removed.

Specified by:
notifyRemove in interface AddRemoveNotify
Parameters:
obj - the GameObject whose property list we're being removed from

hookEvent

public void hookEvent(java.lang.String hookName,
                      CommandEvent event)
Player moved; prints stuff out.

Specified by:
hookEvent in interface HookCallback
Parameters:
hookName - the name of the hook, such as "movePreHook".
event - the CommandEvent encapsulating the event parameters