Commits

Jose Martinez  committed 43e8992

[no commit message]

  • Participants
  • Parent commits d82d1ac

Comments (0)

Files changed (3)

File defender/src/main/java/com/fxexperience/games/defender/DefenderApp.java

 package com.fxexperience.games.defender;
 
 import com.fxexperience.games.defender.level.DefaultLevelFactory;
+import com.fxexperience.games.defender.level.Level;
 import com.fxexperience.games.defender.level.LevelFactory;
-import com.fxexperience.games.defender.level.Level;
-import javafx.animation.Interpolator;
-import javafx.animation.KeyFrame;
-import javafx.animation.KeyValue;
-import javafx.animation.Timeline;
 import javafx.application.Application;
-import javafx.scene.Group;
 import javafx.scene.Scene;
-import javafx.scene.control.Label;
-import javafx.scene.layout.BorderPane;
-import javafx.scene.paint.Color;
-import javafx.scene.shape.Rectangle;
 import javafx.stage.Stage;
-import javafx.util.Duration;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

File defender/src/main/java/com/fxexperience/games/defender/level/Level.java

  */
 package com.fxexperience.games.defender.level;
 
+import com.fxexperience.games.defender.tower.Tower;
 import com.fxexperience.games.defender.unit.BadGuy;
-import com.fxexperience.games.defender.tower.Tower;
-import javafx.application.Platform;
 import javafx.collections.FXCollections;
 import javafx.collections.ObservableList;
-import javafx.concurrent.Task;
 import javafx.geometry.Point2D;
 import javafx.scene.Group;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
 public abstract class Level extends Group {
 
     private static final Logger log = LoggerFactory.getLogger(Level.class);

File defender/src/main/java/com/fxexperience/games/defender/level/SimpleLevel.java

 package com.fxexperience.games.defender.level;
 
 import com.fxexperience.games.defender.unit.BadGuy;
-import com.fxexperience.games.defender.level.Level;
 import javafx.application.Platform;
-import javafx.geometry.Bounds;
 import javafx.geometry.Point2D;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
                 }
             }
         };
+        thread.setDaemon(true);
         thread.start();
     }