be.saltwater.jaqel.creature
Class Weapon

java.lang.Object
  extended bybe.saltwater.jaqel.creature.Weapon
All Implemented Interfaces:
CreatureAttribute

public class Weapon
extends java.lang.Object
implements CreatureAttribute

Can be bought by a creature and added to it's CreatureSharedData.

Author:
Robin Wittevrongel

Field Summary
static int ATTACK_ACTION_COST
           
 
Constructor Summary
Weapon(WeaponTypeData type_data)
           
 
Method Summary
 javax.media.j3d.Node getContentNode()
          Get the 3D representation of this attribute.
 java.lang.String getName()
           
 WeaponTypeData getWeaponTypeData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTACK_ACTION_COST

public static final int ATTACK_ACTION_COST
See Also:
Constant Field Values
Constructor Detail

Weapon

public Weapon(WeaponTypeData type_data)
Method Detail

getContentNode

public javax.media.j3d.Node getContentNode()
Description copied from interface: CreatureAttribute
Get the 3D representation of this attribute.

Specified by:
getContentNode in interface CreatureAttribute

getWeaponTypeData

public WeaponTypeData getWeaponTypeData()

getName

public java.lang.String getName()
Specified by:
getName in interface CreatureAttribute