wyvern.lib.properties
Interface Activatable

All Known Implementing Classes:
Gate

public interface Activatable

Objects that can be activated use this interface.

Version:
1.0, Nov 11, 1998
Author:
Steve Yegge

Method Summary
 void activate()
          Activates the object.
 

Method Detail

activate

public void activate()
              throws java.lang.Exception
Activates the object. It's up to the implementing object to define the semantics for activation. Gates toggle open/closed each time they're activated. Some objects may permanently change state after they're first activated and won't respond to further activations. If the activation fails, the object should throw an Exception with a suitable message for the client.

Throws:
any - Exception with an appropriate detail message if the activation failed.
java.lang.Exception