... | ... | @@ -12,6 +12,6 @@ We have plugins for maven surefire for test reports and plugin for running the p |
|
|
|
|
|
# Package structure
|
|
|
|
|
|
For our project we have used a standard project structure used with Maven. We have a src folder with `main` and `test`. Our group id is edu.ntnu.idatt1002.k1g4 as shown in the project structure as well. In our main directory we have our backend classes inside the root of `k1g4`. Our client classes are in the `client` package. The Model, ViewUtil, App, Main as well as all the controller classes lie here. The Model class have static fields and methods to hold the information of the cups. The ViewUtil class have static methods to load in new scenes and give alerts. This is to simulate an MVC (Model View Controller) structure. From there the controllers are in the `controllers` package. They recieve the action events form our fxml files which are in the `resources` folder.
|
|
|
For our project we have used a standard project structure used with Maven. We have a src folder with `main` and `test`. Our group id is edu.ntnu.idatt1002.k1g4 as shown in the project structure as well. In our main directory we have our backend classes inside the root of `k1g4`. Our client classes are in the `client` package. The Model, ViewUtil, App, Main as well as all the controller classes lie here. The Model class have static fields and methods to hold the information of the cups. The ViewUtil class have static methods to load in new scenes and give alerts. The controllers recieve the action events form our fxml files which are in the `resources` folder. This is to simulate an MVC (Model View Controller) structure.
|
|
|
|
|
|
![image](uploads/135631fc424536f468fe7ae69653a9cc/image.png) |
|
|
\ No newline at end of file |