|
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.School
A school of arcane magic. Each type of spell belongs to only one school. Some schools are further divided into subschools.
Subschool
Field Summary | |
static int |
ABJURATION
Spells that provide protection or banish other creatures. |
static int |
CONJURATION
Spells that bring creatures or materials to the caster. |
static int |
DIVINATION
Spells that reveal information. |
static int |
ENCHANTMENT
Spells that enchant items and charm creatures. |
static int |
EVOCATION
Spells that manipulate matter and energy. |
static int |
ILLUSION
Spells that alter perception and create false images. |
static int |
NECROMANCY
Spells that manipulate life and death. |
static int |
TRANSMUTATION
Spells that alter physical forms. |
static int |
UNIVERSAL
Spells that deal with magic in general. |
Constructor Summary | |
School(int type)
Create a new school. |
Method Summary | |
String |
getName()
Determine the name of this school. |
int |
getType()
Determine the type of school. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int UNIVERSAL
public static final int ABJURATION
public static final int CONJURATION
public static final int DIVINATION
public static final int ENCHANTMENT
public static final int EVOCATION
public static final int ILLUSION
public static final int NECROMANCY
public static final int TRANSMUTATION
Constructor Detail |
public School(int type)
type
- Type of shocol (UNIVERSAL, ABJURATION, etc.)
IllegalArgumentException
- If type is invalid.Method Detail |
public int getType()
public String getName()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |