cz.cuni.pogamut.MessageObjects
Class AddHealth

java.lang.Object
  extended by cz.cuni.pogamut.MessageObjects.MessageObject
      extended by cz.cuni.pogamut.MessageObjects.AddItem
          extended by cz.cuni.pogamut.MessageObjects.AddHealth
All Implemented Interfaces:
Visible, java.io.Serializable, java.lang.Cloneable

public class AddHealth
extends AddItem
implements java.lang.Cloneable, java.io.Serializable

AddHealth has three extra variables:

See Also:
Serialized Form

Field Summary
 boolean boostable
           
 int strength
           
 ItemType typeOfHealth
           
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.AddItem
cls, itemID
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
AddHealth()
           
AddHealth(int ID, java.lang.String UnrealID, int itemID, java.lang.String cls, int strenght, ItemType typeOfHealth, boolean boostable)
           
 
Method Summary
 java.lang.Object clone()
          clone object - for hard copying
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
diff, equals, getID, getType, getUnrealID, getVisibility, hasID, isVisible, setID, setType, setUnrealID, setVisible, update
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

strength

public int strength

typeOfHealth

public ItemType typeOfHealth

boostable

public boolean boostable
Constructor Detail

AddHealth

public AddHealth(int ID,
                 java.lang.String UnrealID,
                 int itemID,
                 java.lang.String cls,
                 int strenght,
                 ItemType typeOfHealth,
                 boolean boostable)

AddHealth

public AddHealth()
Method Detail

clone

public java.lang.Object clone()
Description copied from class: MessageObject
clone object - for hard copying

Overrides:
clone in class AddItem

toString

public java.lang.String toString()
Overrides:
toString in class AddItem