be.saltwater.jaqel.creature
Class CreatureTypeData

java.lang.Object
  extended bybe.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)
           
 
Method Summary
 void addAnimation(java.lang.String key, CreatureAnimation animation)
           
 CreatureAnimation getAnimation(java.lang.String key)
           
 javax.media.j3d.Appearance getAppearance()
           
 java.lang.String getTypeName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatureTypeData

public CreatureTypeData(java.lang.String type_key,
                        javax.media.j3d.Appearance creature_appearance)
Method Detail

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()