SteamWar/FightSystem
Archiviert
13
1

Fix EnterHandler
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2021-12-18 17:26:24 +01:00
Ursprung 766d539728
Commit d544ecbcf5

Datei anzeigen

@ -27,11 +27,10 @@ import de.steamwar.fightsystem.fight.FightTeam;
import de.steamwar.fightsystem.states.FightState; import de.steamwar.fightsystem.states.FightState;
import de.steamwar.fightsystem.states.IStateDependent; import de.steamwar.fightsystem.states.IStateDependent;
import java.util.EnumSet;
import java.util.Set; import java.util.Set;
public class EnterHandler implements IStateDependent { public class EnterHandler implements IStateDependent {
private static final Set<FightState> enabled = EnumSet.of(FightState.PRE_RUNNING, FightState.RUNNING); private static final Set<FightState> enabled = FightState.Running;
public EnterHandler(){ public EnterHandler(){
FightState.registerStateDependent(this); FightState.registerStateDependent(this);