Package robocode.control.events
Class BattleErrorEvent
- java.lang.Object
-
- robocode.control.events.BattleEvent
-
- robocode.control.events.BattleErrorEvent
-
public class BattleErrorEvent extends BattleEvent
A BattleErrorEvent is sent toonBattleError()
when an error 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:
IBattleListener
,BattleMessageEvent
-
-
Constructor Summary
Constructors Constructor Description BattleErrorEvent(java.lang.String error)
Called by the game to create a new BattleErrorEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getError()
Returns the error message.
-