wyvern.kernel.motion
Class ContactManager

java.lang.Object
  extended bywyvern.kernel.motion.ContactManager

public final class ContactManager
extends java.lang.Object

This class encapsulates the logic for deciding what to do if a move actually results in a push, attack, or some other action.

Version:
1.0, Jun 05, 1998
Author:
Steve Yegge

Method Summary
static CommandEvent checkSpecial(MoveEvent event)
          Sees if this move will result in a different event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkSpecial

public static CommandEvent checkSpecial(MoveEvent event)
Sees if this move will result in a different event.

Parameters:
event - a MoveEvent containing the parameters of the proposed move.
Returns:
a new CommandEvent, optionally with a new Command set to handle it. Returns null if the event is a normal move event.