From d8ff20aa98e0c2d29044a87d9ebfdb8998c2b3ab Mon Sep 17 00:00:00 2001 From: luigi-borriello00 Date: Wed, 6 Sep 2023 21:24:33 +0200 Subject: [PATCH] refactor(package): change setup name into 'game' --- src/main/scala/scatan/Main.scala | 4 ++-- .../controllers/{setup => game}/SetUpController.scala | 4 ++-- src/main/scala/scatan/views/{setup => game}/SetUpView.scala | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) rename src/main/scala/scatan/controllers/{setup => game}/SetUpController.scala (92%) rename src/main/scala/scatan/views/{setup => game}/SetUpView.scala (91%) diff --git a/src/main/scala/scatan/Main.scala b/src/main/scala/scatan/Main.scala index b11658f8..262db83e 100644 --- a/src/main/scala/scatan/Main.scala +++ b/src/main/scala/scatan/Main.scala @@ -1,8 +1,8 @@ package scatan import com.raquo.laminar.api.L.{*, given} import scatan.controllers.home.{HomeController, HomeControllerImpl} -import scatan.controllers.setup.{SetUpController, SetUpControllerImpl} -import scatan.views.setup.{SetUpView, ScalaJsSetUpView} +import scatan.controllers.game.{SetUpController, SetUpControllerImpl} +import scatan.views.game.{SetUpView, ScalaJsSetUpView} import scatan.views.home.{HomeView, ScalaJsHomeView} import scatan.model.ApplicationState import scatan.views.home.{AboutView, ScalaJSAboutView} diff --git a/src/main/scala/scatan/controllers/setup/SetUpController.scala b/src/main/scala/scatan/controllers/game/SetUpController.scala similarity index 92% rename from src/main/scala/scatan/controllers/setup/SetUpController.scala rename to src/main/scala/scatan/controllers/game/SetUpController.scala index 365d222c..77edc374 100644 --- a/src/main/scala/scatan/controllers/setup/SetUpController.scala +++ b/src/main/scala/scatan/controllers/game/SetUpController.scala @@ -1,7 +1,7 @@ -package scatan.controllers.setup +package scatan.controllers.game import scatan.mvc.lib.Controller -import scatan.views.setup.SetUpView +import scatan.views.game.SetUpView import scatan.mvc.lib.NavigableApplicationManager import scatan.Pages diff --git a/src/main/scala/scatan/views/setup/SetUpView.scala b/src/main/scala/scatan/views/game/SetUpView.scala similarity index 91% rename from src/main/scala/scatan/views/setup/SetUpView.scala rename to src/main/scala/scatan/views/game/SetUpView.scala index 33dd6d57..816d8975 100644 --- a/src/main/scala/scatan/views/setup/SetUpView.scala +++ b/src/main/scala/scatan/views/game/SetUpView.scala @@ -1,10 +1,10 @@ -package scatan.views.setup +package scatan.views.game -import scatan.controllers.setup.SetUpController +import scatan.controllers.game.SetUpController import scatan.Pages import scatan.mvc.lib.View -import scatan.controllers.setup.SetUpController +import scatan.controllers.game.SetUpController import com.raquo.laminar.api.L.* import scatan.mvc.lib.{ScalaJSView, View} import scatan.Pages