-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
99 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/view/ingame/InGameActions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| package edu.ntnu.idi.idatt2003.g40.mappe.view.ingame; | ||
|
|
||
| /** | ||
| * Action set for the in game controller. | ||
| * */ | ||
| public enum InGameActions { | ||
| BUY_SHARES, | ||
| SELL_SHARES; | ||
| // Empty, no direct actions. | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/view/mainmenu/MainMenuActions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,21 @@ | ||
| package edu.ntnu.idi.idatt2003.g40.mappe.view.mainmenu; | ||
|
|
||
| /** | ||
| * Action set for the main menu. | ||
| * */ | ||
| public enum MainMenuActions { | ||
| /** | ||
| * Action for starting the game. | ||
| * */ | ||
| START_GAME, | ||
|
|
||
| /** | ||
| * Action for opening the settings panel. | ||
| * */ | ||
| SETTINGS, | ||
|
|
||
| /** | ||
| * Action for exiting the application. | ||
| * */ | ||
| EXIT; | ||
| } |
3 changes: 0 additions & 3 deletions
3
src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/view/mainmenu/MainMenuController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/view/playgame/PlayGameActions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,22 @@ | ||
| package edu.ntnu.idi.idatt2003.g40.mappe.view.playgame; | ||
|
|
||
| /** | ||
| * Action set in the {@link PlayGameView} section. | ||
| * */ | ||
| public enum PlayGameActions { | ||
|
|
||
| /** | ||
| * Creating a new game. | ||
| * */ | ||
| NEW_GAME, | ||
|
|
||
| /** | ||
| * Returning to the main menu. | ||
| * */ | ||
| BACK, | ||
|
|
||
| /** | ||
| * Uploading a save file. | ||
| * */ | ||
| UPLOAD_SAVE, | ||
| } |
18 changes: 18 additions & 0 deletions
18
src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/view/settings/SettingsActions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,26 @@ | ||
| package edu.ntnu.idi.idatt2003.g40.mappe.view.settings; | ||
|
|
||
| /** | ||
| * Action set for {@link SettingsView}. | ||
| * */ | ||
| public enum SettingsActions { | ||
| /** | ||
| * Audio panel. | ||
| * */ | ||
| AUDIO, | ||
|
|
||
| /** | ||
| * Video panel. | ||
| * */ | ||
| VIDEO, | ||
|
|
||
| /** | ||
| * Hotkeys panel. | ||
| * */ | ||
| HOTKEYS, | ||
|
|
||
| /** | ||
| * Return to main menu. | ||
| * */ | ||
| BACK; | ||
| } |
6 changes: 6 additions & 0 deletions
6
...n/java/edu/ntnu/idi/idatt2003/g40/mappe/view/widgets/financialsummary/SummaryActions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,11 @@ | ||
| package edu.ntnu.idi.idatt2003.g40.mappe.view.widgets.financialsummary; | ||
|
|
||
| /** | ||
| * Action set for {@link SummaryView}. | ||
| * */ | ||
| public enum SummaryActions { | ||
| /** | ||
| * Advance week. | ||
| * */ | ||
| NEXT_WEEK; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters