Class StartController
java.lang.Object
edu.ntnu.idi.idatt.view.components.AbstractController<StartModel>
edu.ntnu.idi.idatt.view.entry.StartController
Class for Start MVC Controller.
-
Field Summary
Fields inherited from class AbstractController
model -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod for initializing the game.voidMethod to obtain a user specified CSV file.
-
Constructor Details
-
StartController
Constructor for StartController.- Parameters:
model- - StartModel instance.
-
-
Method Details
-
obtainCSVFile
public void obtainCSVFile()Method to obtain a user specified CSV file. -
initializeGame
public void initializeGame()Method for initializing the game.Handles initial logic and fills the UserSession with the new instance.
-