public class BattleMessageEvent extends BattleEvent
onBattleMessage()
when an informal message is sent from the game in the during the battle.IBattleListener
,
BattleErrorEvent
Constructor and Description |
---|
BattleMessageEvent(String message)
Called by the game to create a new BattleMessageEvent.
|
public BattleMessageEvent(String message)
message
- the informal message from the game.public String getMessage()
Copyright © 2021 Robocode. All Rights Reserved.