Removed unused classes and imports

- Removed references to Constants class from other classes and tests
- ArrowController, Constants, Regatta removed
- Removed imports from various classes no longer used

#story[1003]
This commit is contained in:
Jessica McAuslin
2017-06-26 22:29:30 +12:00
parent 6ba1aca074
commit 2bbcb10458
18 changed files with 7 additions and 160 deletions
@@ -1,17 +0,0 @@
package seng302.Controllers;
import javafx.fxml.FXML;
import javafx.scene.layout.Pane;
import java.net.URL;
import java.util.ResourceBundle;
/**
* Created by Joseph on 22/05/2017.
*/
public class ArrowController extends Controller {
@Override
public void initialize(URL location, ResourceBundle resources) {
}
}
@@ -66,8 +66,6 @@ public class RaceController extends Controller {
* @param race Race to listen to.
*/
public void setInfoTable(StreamedRace race) {
//boatInfoTable.getItems().clear();
ObservableList<Boat> startingBoats = race.getStartingBoats();
boatInfoTable.setItems(race.getStartingBoats());
boatTeamColumn.setCellValueFactory(cellData -> cellData.getValue().getName());
boatSpeedColumn.setCellValueFactory(cellData -> cellData.getValue().getVelocityProp());
@@ -155,7 +153,7 @@ public class RaceController extends Controller {
initializeFPS();
// set up annotation displays
Annotations annotations = new Annotations(annotationPane, raceMap);
new Annotations(annotationPane, raceMap);
new Thread((newRace)).start();
}
@@ -14,7 +14,6 @@ import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ArrayBlockingQueue;
import static seng302.Networking.Utils.ByteConverter.bytesToShort;