rle.core.charm
Interface TemporaryCharm
- All Superinterfaces:
- Charm
- All Known Implementing Classes:
- TimedCharm
public interface TemporaryCharm
- extends Charm
A TemporaryCharm is any game affect that is non-instantaneous and non-
permanent. Examples include speed due to quaffing a potion of speed and
being temporarily blinded by a flash of light.
Method Summary |
void |
stopCharm(Cause stopCause)
End any affects caused by this charm. |
stopCharm
void stopCharm(Cause stopCause)
- End any affects caused by this charm. This can be called by a mechanism
invoked by startCharm, such as a time-out on a duration charm, or because
of some event external to the charm, such as a poison charm being cured by
the player quaffing a healing potion. Whatever the case, this method must
remove any listeners added by startCharm().