|
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 | +--ogs.magic.Subschool
A subschool of arcane magic. Only three schools of magic (Conjuration, Enchantment, and Illusion) can have a subschools. Note however that a spell in a school with subschools does not have to belong to one of these subschools (though most do).
Field Summary | |
static int |
CALLING
The calling subschool of the conjuration school. |
static int |
CHARM
The charm subschool of the enchantment school. |
static int |
COMPULSION
The compulsion subschool of the enchantment school. |
static int |
CREATION
The creation subschool of the conjuration school. |
static int |
FIGMENT
The figment subschool of the illusion school. |
static int |
GLAMER
The glamer subschool of the illusion school. |
static int |
HEALING
The healing subschool of the conjuration school. |
static int |
PATTERN
The pattern subschool of the illusion school. |
static int |
PHANTASM
The phantasm subschool of the illusion school. |
static int |
SHADOW
The shadow subschool of the illusion school. |
static int |
SUMMONING
The summoning subschool of the conjuration school. |
Fields inherited from class ogs.magic.School |
ABJURATION, CONJURATION, DIVINATION, ENCHANTMENT, EVOCATION, ILLUSION, NECROMANCY, TRANSMUTATION, UNIVERSAL |
Constructor Summary | |
Subschool(int type)
Create a new subschool. |
Method Summary | |
String |
getName()
Determine the name of the subschool. |
int |
getType()
Determine the type of subschool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CALLING
public static final int CREATION
public static final int HEALING
public static final int SUMMONING
public static final int CHARM
public static final int COMPULSION
public static final int FIGMENT
public static final int GLAMER
public static final int PATTERN
public static final int PHANTASM
public static final int SHADOW
Constructor Detail |
public Subschool(int type)
type
- Type of subschool (CALLING, FIGMENT, etc.)
IllegalArgumentException
- If type is invalid.Method Detail |
public int getType()
getType
in class School
public String getName()
getName
in class School
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |