cz.cuni.pogamut.MessageObjects
Class ChangedWeapon
java.lang.Object
cz.cuni.pogamut.MessageObjects.MessageObject
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. |
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 |
weaponID
public int weaponID
- Id - unique id of new weapon, based on the weapon's name.
cls
public java.lang.String cls
ChangedWeapon
public ChangedWeapon()
toString
public java.lang.String toString()
- Overrides:
toString
in class MessageObject