java.lang.Object | +--Race
| Field Summary | |
protected int |
endurance
|
protected char |
environtype
|
protected int[] |
homeworld
|
protected boolean |
isHandtohand
|
protected boolean |
isStarFaring
|
protected java.lang.String |
name
|
protected int |
strength
|
| Constructor Summary | |
Race(java.lang.String newname,
char newtype,
int newstren,
int newendur,
boolean ctype,
boolean isSF,
int[] newarray)
Constructor Method |
|
| Method Summary | |
static Race |
get(java.lang.String Name)
get(String) returns the race of the same name |
int |
getEndurance()
getEndurance() returns the endurance of a race |
char |
getEnvirontype()
getEnvirontype() returns the environ type of a race |
boolean |
getisHandtohand()
getisHandtohand() returns if the race fights hand to hand in combat |
boolean |
getisStarFaring()
getisStarFaring() returns if the race is starfaring |
java.lang.String |
getName()
getName() returns the name of a race |
int |
getStrength()
getStrength() returns the strength of a race |
static void |
init()
Init() Initializer of all races in FITG |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected char environtype
protected int strength
protected int endurance
protected boolean isHandtohand
protected boolean isStarFaring
protected int[] homeworld
| Constructor Detail |
public Race(java.lang.String newname,
char newtype,
int newstren,
int newendur,
boolean ctype,
boolean isSF,
int[] newarray)
newname - Race Namenewtype - Environ Typenewstren - Strengthnewendur - Endurancectype - Is Hand to Hand CreatureisSF - Is Star Faringnewarray - Array of Homeworlds| Method Detail |
public static Race get(java.lang.String Name)
Name - Race's name
public java.lang.String getName()
public char getEnvirontype()
public int getStrength()
public int getEndurance()
public boolean getisHandtohand()
public boolean getisStarFaring()
public static void init()