Package robocode.control.events
Class BattleMessageEvent
java.lang.Object
robocode.control.events.BattleEvent
robocode.control.events.BattleMessageEvent
A BattleMessageEvent is sent to
onBattleMessage()
when an informal message is sent from the game in the during the battle.- Since:
- 1.6.2
- Author:
- Pavel Savara (original), Flemming N. Larsen (contributor)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBattleMessageEvent
(String message) Called by the game to create a new BattleMessageEvent. -
Method Summary
-
Constructor Details
-
BattleMessageEvent
Called by the game to create a new BattleMessageEvent. Please don't use this constructor as it might change.- Parameters:
message
- the informal message from the game.
-
-
Method Details
-
getMessage
Returns the informal message.- Returns:
- the informal message that was sent from the game during the battle.
-