|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ogs.magic.Range
|
+--ogs.magic.AbsoluteRange
|
+--ogs.magic.LevelRange
An absolute range that is based on caster level. Level-based spell ranges have formulas for automatically determining the absolute distance.
| Field Summary |
| Fields inherited from class ogs.magic.Range |
ABSOLUTE, CLOSE, LONG, MEDIUM, PERSONAL, TOUCH, UNLIMITED |
| Method Summary | |
static LevelRange |
Close(int casterLevel)
Create a new Close spell range. |
int |
getCasterLevel()
Determine the caster level for this range. |
static LevelRange |
Long(int casterLevel)
Create a new Long spell range. |
static LevelRange |
Medium(int casterLevel)
Create a new Medium spell range. |
| Methods inherited from class ogs.magic.AbsoluteRange |
Absolute, getDistance |
| Methods inherited from class ogs.magic.Range |
getType, Personal, Touch, Unlimited |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static LevelRange Close(int casterLevel)
casterLevel - Experience level of spell caster.
public static LevelRange Medium(int casterLevel)
casterLevel - Experience level of spell caster.
public static LevelRange Long(int casterLevel)
casterLevel - Experience level of spell caster.
public int getCasterLevel()
|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||