Class EndTurnEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.tcg.api.events.EndTurnEvent

public class EndTurnEvent extends net.minecraftforge.eventbus.api.Event
Fires when a turn is ended.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    EndTurnEvent(PlayerServerState player, int turn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTurn

      public int getTurn()
      Returns:
      - The current turn about to be ended
    • getPlayer

      public PlayerServerState getPlayer()
      Returns:
      - The player whos turn is ending