Skip to content

Commit

Permalink
Removed GameStateInitEvent.scheduled field (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKaVu committed May 24, 2023
1 parent 137e9b2 commit 96c99be
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/java/dev/kavu/gameapi/event/GameStateInitEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,16 @@ public class GameStateInitEvent extends GameStateTimerEvent {
private static final HandlerList handlers = new HandlerList();

private final GameState previousState;
private final boolean scheduled;

public GameStateInitEvent(GameStateTimer timer, GameState gameState, GameState previousState, boolean scheduled) {
public GameStateInitEvent(GameStateTimer timer, GameState gameState, GameState previousState) {
super(timer, gameState);
this.previousState = previousState;
this.scheduled = scheduled;
}

public GameState getPreviousState() {
return previousState;
}

public boolean isScheduled() {
return scheduled;
}

@Override
public HandlerList getHandlers() {
return handlers;
Expand Down

0 comments on commit 96c99be

Please sign in to comment.