SteamWar/FightSystem
Archiviert
13
1

Fix EnterHandler #307

Zusammengeführt
Lixfel hat 1 Commits von EnterHandler nach master 2021-12-19 08:24:30 +01:00 zusammengeführt

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);