robocode.control.events
Class TurnEndedEvent
public class TurnEndedEvent
A TurnEndedEvent is sent to
onTurnEnded()
when the current turn in a battle round is ended.
- Pavel Savara (original)
- Flemming N. Larsen (contributor)
TurnEndedEvent
public TurnEndedEvent(ITurnSnapshot turnSnapshot)
Creates a new TurnEndedEvent.
turnSnapshot
- a snapshot of the turn that has ended.
getTurnSnapshot
public ITurnSnapshot getTurnSnapshot()
Returns a snapshot of the turn that has ended.
- a snapshot of the turn that has ended.