Reworked iMapLayout as race would either take too long or too short. Added temporary image for iMapLayout. Will be reworked when I have time. #story[1193]

This commit is contained in:
David Wu
2017-09-07 21:15:41 +12:00
parent cbfcd3aa0d
commit 002cccd5a0
4 changed files with 25 additions and 81 deletions
@@ -61,8 +61,9 @@ public class HostController extends Controller {
public void initialize(URL location, ResourceBundle resources){
Image ac35Map = new Image(getClass().getClassLoader().getResourceAsStream("images/AC35_Racecourse_MAP.png"));
Image oMap = new Image(getClass().getClassLoader().getResourceAsStream("images/oMapLayout.png"));
Image iMap = new Image(getClass().getClassLoader().getResourceAsStream("images/iMapLayout.png"));
listOfMaps = new ArrayList(Arrays.asList(ac35Map, oMap));
listOfMaps = new ArrayList(Arrays.asList(ac35Map, oMap, iMap));
mapImage.setImage(listOfMaps.get(currentMapIndex));
}