Class TurnEndedEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      TurnEndedEvent​(ITurnSnapshot turnSnapshot)
      Called by the game to create a new TurnEndedEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • TurnEndedEvent

        public TurnEndedEvent​(ITurnSnapshot turnSnapshot)
        Called by the game to create a new TurnEndedEvent. Please don't use this constructor as it might change.
        Parameters:
        turnSnapshot - a snapshot of the turn that has ended.
    • Method Detail

      • getTurnSnapshot

        public ITurnSnapshot getTurnSnapshot()
        Returns a snapshot of the turn that has ended.
        Returns:
        a snapshot of the turn that has ended.