be.saltwater.jaqel.creature
Class CreatureTypeData
java.lang.Object
be.saltwater.jaqel.creature.CreatureTypeData
- public class CreatureTypeData
- extends java.lang.Object
Contains all the data that is shared between creatures of the same kind (knights, wizards, monks, zombies, ...).
- Author:
- Bruno Windels
- See Also:
Creature
|
Constructor Summary |
CreatureTypeData(java.lang.String type_key,
javax.media.j3d.Appearance creature_appearance)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreatureTypeData
public CreatureTypeData(java.lang.String type_key,
javax.media.j3d.Appearance creature_appearance)
getAppearance
public javax.media.j3d.Appearance getAppearance()
addAnimation
public void addAnimation(java.lang.String key,
CreatureAnimation animation)
getAnimation
public CreatureAnimation getAnimation(java.lang.String key)
getTypeName
public java.lang.String getTypeName()