|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrobocode.control.events.BattleEvent
robocode.control.events.TurnEndedEvent
public class TurnEndedEvent
A TurnEndedEvent is sent to onTurnEnded() when the current turn in a battle round is ended.
IBattleListener,
TurnStartedEvent| Constructor Summary | |
|---|---|
TurnEndedEvent(ITurnSnapshot turnSnapshot)
Creates a new TurnEndedEvent. |
|
| Method Summary | |
|---|---|
ITurnSnapshot |
getTurnSnapshot()
Returns a snapshot of the turn that has ended. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TurnEndedEvent(ITurnSnapshot turnSnapshot)
turnSnapshot - a snapshot of the turn that has ended.| Method Detail |
|---|
public ITurnSnapshot getTurnSnapshot()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||