cz.cuni.pogamut.MessageObjects
Class ChangedWeapon

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

public class ChangedWeapon
extends MessageObject
implements java.io.Serializable

Bot changed weapons. Possibly as a result of a command sent by you, maybe just because it ran out of ammo in its old gun.

Bots autoswitch when empty, just like human players.

See Also:
Serialized Form

Field Summary
 java.lang.String cls
           
 int weaponID
          Id - unique id of new weapon, based on the weapon's name.
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
ChangedWeapon()
           
 
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

weaponID

public int weaponID
Id - unique id of new weapon, based on the weapon's name.


cls

public java.lang.String cls
Constructor Detail

ChangedWeapon

public ChangedWeapon()
Method Detail

toString

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