cz.cuni.pogamut.MessageObjects
Class BotDamaged

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

public class BotDamaged
extends MessageObject
implements java.io.Serializable

This bot has been damaged.

See Also:
Serialized Form

Field Summary
 int damage
          Damage - amount of damage taken
 java.lang.String damageType
          DamageType - a string describing what kind of damage
 int idInstigator
          idInstigator - id of the player who is damaging the bot, filled only iff instigator is in the field of view of the bot
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
BotDamaged()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
clone, 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

damage

public int damage
Damage - amount of damage taken


damageType

public java.lang.String damageType
DamageType - a string describing what kind of damage


idInstigator

public int idInstigator
idInstigator - id of the player who is damaging the bot, filled only iff instigator is in the field of view of the bot

Constructor Detail

BotDamaged

public BotDamaged()
Method Detail

toString

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