Connected the battle engine to the UI. Beginning to make messages appear in the UI
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user