public class TurnEndedEvent extends BattleEvent
onTurnEnded() when the current turn in a battle round is ended.IBattleListener,
TurnStartedEvent| Constructor | Description |
|---|---|
TurnEndedEvent(ITurnSnapshot turnSnapshot) |
Called by the game to create a new TurnEndedEvent.
|
| Modifier and Type | Method | 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 © 2018. All rights reserved.