SteamWar/FightSystem
Archiviert
13
1

Merge pull request 'Fix EnterHandler' (#307) from EnterHandler into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #307
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2021-12-19 08:24:29 +01:00
Commit c9aab07344

Datei anzeigen

@ -27,11 +27,10 @@ import de.steamwar.fightsystem.fight.FightTeam;
import de.steamwar.fightsystem.states.FightState;
import de.steamwar.fightsystem.states.IStateDependent;
import java.util.EnumSet;
import java.util.Set;
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(){
FightState.registerStateDependent(this);