be.saltwater.jaqel.creature.loaders
Class CreatureLoadData
java.lang.Object
be.saltwater.jaqel.creature.loaders.CreatureLoadData
- public class CreatureLoadData
- extends java.lang.Object
Class to hold the data contained in a creature file. There is an instance in CreatureLoadHelper for each loaded type of creature (thus for each loaded creature file). It holds the default points and the CreatureTypeData for a certain creature type. CreatureLoader creates these objects and CreatureLoadHelper makes sure that they are only loaded one time.
- Author:
- Bruno Windels
- See Also:
CreatureLoadHelper,
CreatureLoader
|
Constructor Summary |
CreatureLoadData(int tohit,
int accuracy,
int strength,
int armor,
int magic,
int spell,
java.lang.String defaultweapon,
CreatureTypeData type_data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreatureLoadData
public CreatureLoadData(int tohit,
int accuracy,
int strength,
int armor,
int magic,
int spell,
java.lang.String defaultweapon,
CreatureTypeData type_data)
getCreatureTypeData
public CreatureTypeData getCreatureTypeData()
getToHitPoints
public int getToHitPoints()
getAccuracyPoints
public int getAccuracyPoints()
getStrengthPoints
public int getStrengthPoints()
getArmorPoints
public int getArmorPoints()
getMagicPoints
public int getMagicPoints()
getSpellPoints
public int getSpellPoints()
getDefaultWeapon
public java.lang.String getDefaultWeapon()