|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.StdAbility
com.planet_ink.coffee_mud.Abilities.SuperPowers.SuperPower
com.planet_ink.coffee_mud.Abilities.SuperPowers.Power_TrapSense
public class Power_TrapSense
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
---|
affected, amDestroyed, canBeUninvoked, empty, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
Constructor Summary | |
---|---|
Power_TrapSense()
|
Method Summary | |
---|---|
int |
abstractQuality()
Returns a constant value notifying the system of the general quality of the skill, whether it is malicious, beneficial, indifferent, or qualifiably beneficial (ok), as well as whether it is intended to target the invoker (self) or others. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
boolean |
canBeUninvoked()
Whether this skill is allowed to be uninvoked. |
protected int |
canTargetCode()
Designates whether, when invoked as a skill, what sort of objects this ability can effectively target. |
java.lang.String |
displayText()
Gets the raw string used to show what this object looks like in the room. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
isAutoInvoked()
An autoinvocating ability is an ability which affects the mob just by having learned the ability. |
void |
messageTo(MOB mob)
|
java.lang.String |
name()
The nice displayable name of this instance of this object |
boolean |
tick(Tickable ticking,
int tickID)
this is the method which is called periodically by the threading engine. |
java.lang.String |
trapCheck(Physical P)
|
java.lang.String |
trapHere(MOB mob,
Physical P)
|
Methods inherited from class com.planet_ink.coffee_mud.Abilities.SuperPowers.SuperPower |
---|
classificationCode, triggerStrings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Power_TrapSense()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class SuperPower
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class SuperPower
Environmental.Name()
public java.lang.String displayText()
Environmental
displayText
in interface Environmental
displayText
in class SuperPower
protected int canAffectCode()
StdAbility
canAffectCode
in class SuperPower
Ability
protected int canTargetCode()
StdAbility
canTargetCode
in class SuperPower
Ability
public int abstractQuality()
Ability
abstractQuality
in interface Ability
abstractQuality
in class SuperPower
Ability
public boolean isAutoInvoked()
Ability
isAutoInvoked
in interface Ability
isAutoInvoked
in class StdAbility
public boolean canBeUninvoked()
Ability
canBeUninvoked
in interface Ability
canBeUninvoked
in class StdAbility
Ability.makeNonUninvokable()
public java.lang.String trapCheck(Physical P)
public java.lang.String trapHere(MOB mob, Physical P)
public void messageTo(MOB mob)
public boolean tick(Tickable ticking, int tickID)
Tickable
tick
in interface Tickable
tick
in class StdAbility
ticking
- a reference to this Tickable objecttickID
- the TICKID_ constant describing this periodic call, as defined in Tickable
Tickable
,
ServiceEngine
,
TickableGroup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |