Package com.pixelmonmod.tcg.api.events
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
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
EndTurnEvent
-
-
Method Details
-
getTurn
public int getTurn()- Returns:
- - The current turn about to be ended
-
getPlayer
- Returns:
- - The player whos turn is ending
-