wyvern.lib.properties
Interface PushInterest

All Known Implementing Classes:
PuzzleBall

public interface PushInterest

Callback for objects that want to know when they've been pushed. An object isn't pushable unless it also has a "pushable" boolean property.

Version:
1.0, Dec 19, 2000
Author:
Steve Yegge

Method Summary
 boolean pushed(Commandable agent)
          Notifies the object it's been pushed.
 

Method Detail

pushed

public boolean pushed(Commandable agent)
Notifies the object it's been pushed.

Parameters:
agent - the agent doing the pushing. Can be null if the push was originated by someone other than a monster/player.