public class TurnEndedEvent extends BattleEvent
onTurnEnded()
when the current turn in a battle round is ended.IBattleListener
,
TurnStartedEvent
Constructor and Description |
---|
TurnEndedEvent(ITurnSnapshot turnSnapshot)
Called by the game to create a new TurnEndedEvent.
|
Modifier and Type | Method and Description |
---|---|
ITurnSnapshot |
getTurnSnapshot()
Returns a snapshot of the turn that has ended.
|
public TurnEndedEvent(ITurnSnapshot turnSnapshot)
turnSnapshot
- a snapshot of the turn that has ended.public ITurnSnapshot getTurnSnapshot()
Copyright © 2021 Robocode. All Rights Reserved.