robocode.control.events
Class RoundEndedEvent
public class RoundEndedEvent
A RoundEndedEvent is sent to
onRoundEnded() when the current round of a battle has ended.
- Pavel Savara (original)
- Flemming N. Larsen (contributor)
int | getRound()- Returns the round number that was ended.
|
int | getTurns()- Returns the number of turns that this round reached.
|
RoundEndedEvent
public RoundEndedEvent(int round,
int turns) Creates a new RoundEndedEvent.
round - the round number that was ended.turns - the number of turns that this round reached.
getRound
public int getRound()
Returns the round number that was ended.
- the round number that was ended.
getTurns
public int getTurns()
Returns the number of turns that this round reached.
- the number of turns that this round reached.