Skip to content

Commit

Permalink
Cleaned dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenschwenke committed Apr 9, 2013
1 parent 3d3ec70 commit 0841a1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.util.Timer;
import java.util.TimerTask;

import de.stevenschwenke.java.javafx.simFX.business.GameStateManager;
import de.stevenschwenke.java.javafx.simFX.business.logicalObjects.CartesianCoordinate;
import de.stevenschwenke.java.javafx.simFX.business.logicalObjects.GeographicalLogicProvider;
import de.stevenschwenke.java.javafx.simFX.business.logicalObjects.GroupMembership;
Expand Down Expand Up @@ -126,7 +125,6 @@ public void attack(Colony attackedColony) {
World.getInstance().notifyAttack(this, attackedColony,
energyOfAttacked);
attackedColony.destroy();
GameStateManager.getInstance().checkGameState();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public void notifyHarvest(Colony harvester, Resource harvest) {
public void notifyAttack(final Colony attacker, final Colony attacked,
long strength) {
userInterface.notifyAttack(attacker, attacked, strength);
GameStateManager.getInstance().checkGameState();
}

/**
Expand Down

0 comments on commit 0841a1c

Please sign in to comment.