|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Feature
|
+--ogs.core.Skill
|
+--ogs.skills.Spot
A skill used primarily to detect creatures who are hiding.
| Field Summary |
| Fields inherited from class ogs.support.Object |
listeners |
| Constructor Summary | |
Spot()
Create a new Spot skill. |
|
| Method Summary | |
boolean |
applyArmorCheckPenalty()
Determine if an armor check penalty applies when this skill is used. |
float |
getDistance()
Determine the distance of the target from the spotter. |
int |
getKeyAbility()
Determine the key ability of this type of skill. |
boolean |
isDistracted()
Determine if the spotter is distracted. |
void |
setDistance(float distance)
Change the distance of the target from the spotter. |
void |
setDistracted(boolean distracted)
Change the distracted status of the spotter. |
boolean |
useUntrained()
Determine if this type of skill can be used untrained. |
| Methods inherited from class ogs.core.Skill |
attachObject, getCurrentPoints, getCurrentRanks, getMaximumPoints, getMaximumPoints, getMaximumPointsLevel, getMaximumRanks, getModifiers, setCurrentPoints, setMaximumPoints |
| Methods inherited from class ogs.core.Feature |
canAttach, canDetach, detachObject, getObject |
| Methods inherited from class ogs.support.Object |
addListener, handleEvent, notifyListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Spot()
| Method Detail |
public int getKeyAbility()
getKeyAbility in class Skillpublic boolean useUntrained()
useUntrained in class Skillpublic boolean applyArmorCheckPenalty()
applyArmorCheckPenalty in class Skillpublic float getDistance()
public void setDistance(float distance)
distance - Distance of target from spotter.public boolean isDistracted()
public void setDistracted(boolean distracted)
distracted - True if the spotter is distracted.
|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||