Dieser Commit ist enthalten in:
Ursprung
766d539728
Commit
d544ecbcf5
@ -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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren