Connected the battle engine to the UI. Beginning to make messages appear in the UI

This commit is contained in:
James Daly
2019-06-13 22:22:57 -04:00
parent 2805bbf1c7
commit 0b52e91a3d
11 changed files with 109 additions and 61 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class Game extends Application {
val url = getClass.getResource("battle/battle.fxml")
val loader = new FXMLLoader(url)
val root: Parent = loader.load()
val controller = loader.getController[BattleUI]()
implicit val controller = loader.getController[BattleUI]()
val scene: Scene = new Scene(root)
implicit val rng = new scala.util.Random()