Package de.smoofy.core.api.game.phase
Schnittstelle IPhaseHandler
public interface IPhaseHandler
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the current phase.void
currentPhase
(Phase phase) Set the current phase.void
currentPhase
(String phase) Set the current phase.Get a phase from the cache.phases()
Get all cached phases.
-
Methodendetails
-
currentPhase
Phase currentPhase()Get the current phase.- Gibt zurück:
- the current
Phase
-
currentPhase
Set the current phase.- Parameter:
phase
- the new phase
-
currentPhase
Set the current phase.- Parameter:
phase
- the new phase
-
phase
Get a phase from the cache.- Parameter:
name
- the name of the phase.- Gibt zurück:
- the
Phase
of the name or null if not found
-
phases
Get all cached phases.- Gibt zurück:
- a list of all cached
Phase
s
-