|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.mud4j.ability.LocationAbility
public abstract class LocationAbility
Abilities for locations. The ability will be run on a location.
Constructor Summary | |
---|---|
LocationAbility(Location location)
Constructor to create a LocationAbility to associate the ability with a location. |
Method Summary | |
---|---|
Location |
getLocation()
Get the location for the ability. |
abstract void |
run()
Run the ability. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationAbility(Location location)
location
- Location to associate with the specific ability.Method Detail |
---|
public Location getLocation()
public abstract void run() throws AbilityException
run
in interface Ability
AbilityException
- in case the ability encounters a problem or
cannot continue.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |