de.adom.jade.beings.races
Class PCRace

java.lang.Object
  extended by de.adom.jade.beings.races.Race
      extended by de.adom.jade.beings.races.PCRace
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HillDwarf, Human, MountainDwarf

public abstract class PCRace
extends Race

Marks all races that are meant to be used by the PC.

See Also:
Serialized Form

Constructor Summary
PCRace(java.lang.String name, java.lang.String attribute, int hpPercentage, int pwPercentage, int dvMod, int pvMod, int speedMod, int stMod, int leMod, int wiMod, int dxMod, int toMod, int chMod, int apMod, int maMod, int peMod, int xpMod, Gender[] genders)
          Instantiates a new type of race.
 
Method Summary
 
Methods inherited from class de.adom.jade.beings.races.Race
getAttributeModifier, getBasicAttribute, getDVModifier, getExperienceModifier, getHpPercentageModifier, getPCRace, getPCRaces, getPermittedGenders, getPVModifier, getPwPercentageModifier, getRaceAttribute, getSpeedModifier, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PCRace

public PCRace(java.lang.String name,
              java.lang.String attribute,
              int hpPercentage,
              int pwPercentage,
              int dvMod,
              int pvMod,
              int speedMod,
              int stMod,
              int leMod,
              int wiMod,
              int dxMod,
              int toMod,
              int chMod,
              int apMod,
              int maMod,
              int peMod,
              int xpMod,
              Gender[] genders)
Instantiates a new type of race.

Parameters:
name - the name of the race
attribute - the attribute descriptor for members of this race
hpPercentage - the hit point modifier (in percent)
pwPercentage - the power point modifier (in percent)
dvMod - the absolute DV modifier
pvMod - the absolute PV modifier
speedMod - the absolute speed modifier
stMod - the absolute strength modifier for members of this race
leMod - the absolute learning modifier for members of this race
wiMod - the absolute willpower modifier for members of this race
dxMod - the absolute dexterity modifier for members of this race
toMod - the absolute toughness modifier for members of this race
chMod - the absolute charisma modifier for members of this race
apMod - the absolute appearance modifier for members of this race
maMod - the absolute mana modifier for members of this race
peMod - the absolute perception modifier for members of this race
xpMod - the experience point modifier (in percent)