public class RoundStartedEvent extends BattleEvent
onRoundStarted()
when a new round in a battle is started.IBattleListener
,
RoundEndedEvent
Constructor and Description |
---|
RoundStartedEvent(ITurnSnapshot startSnapshot,
int round)
Creates a new RoundStartedEvent.
|
Modifier and Type | Method and Description |
---|---|
int |
getRound()
Returns the round number.
|
ITurnSnapshot |
getStartSnapshot()
Returns the start snapshot of the participating robots, initial starting positions etc.
|
public RoundStartedEvent(ITurnSnapshot startSnapshot, int round)
startSnapshot
- the start snapshot of the participating robots, initial starting positions etc.round
- the round number.public ITurnSnapshot getStartSnapshot()
public int getRound()