|
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.CClass
A character class is an occupation or vocation of a character.
Character class is abbreviated as cclass to
differentiate the word from the object-oriented concept of a class.
Classes that are derived from the CClass
class
represent specific player character classes, non-player character
classes, and prestige classes.
Field Summary |
Fields inherited from class ogs.support.Object |
listeners |
Constructor Summary | |
protected |
CClass()
Create a new 1st-level character class. |
protected |
CClass(int xpLevel)
Create a new Nth-level character class. |
Method Summary | |
Modifier |
getBaseAttack()
Determine the base attack bonus of this cclass. |
protected int |
getBaseAttackValue()
Determine the value of the base attack bonus for this cclass. |
Modifier |
getBaseFortSave()
Determine the base Fortitude save bonus of this cclass. |
protected int |
getBaseFortSaveValue()
Determine the value of the base Fortitude save bonus for this cclass. |
Modifier |
getBaseRefSave()
Determine the base Reflex save bonus for this cclass. |
protected int |
getBaseRefSaveValue()
Determine the value of the base Reflex save bonus for this cclass. |
Modifier |
getBaseWillSave()
Determine the base Will save bonus for this cclass. |
protected int |
getBaseWillSaveValue()
Determine the value of the base Will save bonus for this cclass. |
abstract int |
getHitDie()
Determine the hit die for this cclass. |
int |
getLevel()
Determine the experience level of this class. |
abstract int |
getSkillPoints()
Determine the skill points per experience level of this cclass. |
void |
setLevel(int xpLevel)
Change the experience level of this cclass. |
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 |
protected CClass()
protected CClass(int xpLevel)
xpLevel
- Experience level of this cclass.Method Detail |
public abstract int getHitDie()
public abstract int getSkillPoints()
public int getLevel()
public void setLevel(int xpLevel)
xpLevel
- An experience level.public Modifier getBaseAttack()
public Modifier getBaseFortSave()
public Modifier getBaseRefSave()
public Modifier getBaseWillSave()
protected int getBaseAttackValue()
protected int getBaseFortSaveValue()
protected int getBaseRefSaveValue()
protected int getBaseWillSaveValue()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |