net.sf.mud4j.ability
Interface Ability

All Known Implementing Classes:
CharacterAbility, LocationAbility

public interface Ability

Ability interface to create basic interface for abilities that may be used by commands, or other abilities. An ability is a runnable independent command that acts upon a target (Character, Location, Item, etc).

Author:
Matthew Purland

Method Summary
 void run()
          Run the ability.
 

Method Detail

run

void run()
         throws AbilityException
Run the ability.

Throws:
AbilityException - in case the ability encounters a problem or cannot continue.


Copyright © 2006-2007 mud4j. All Rights Reserved.