-
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
7 changed files
with
122 additions
and
26 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
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
11 changes: 11 additions & 0 deletions
11
src/main/java/com/github/creme332/controller/TutorialController.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.github.creme332.controller; | ||
|
||
import com.github.creme332.view.TutorialCenter; | ||
|
||
public class TutorialController { | ||
TutorialCenter view; | ||
|
||
public TutorialController(TutorialCenter view) { | ||
this.view = view; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.github.creme332.model; | ||
|
||
public enum Screen { | ||
SPLASH_SCREEN("SPLASH_SCREEN"), | ||
MAIN_SCREEN("MAIN_SCREEN"), | ||
TUTORIAL_SCREEN("TUTORIAL_SCREEN"); | ||
|
||
private String screen; | ||
|
||
Screen(String str) { | ||
screen = str; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return screen; | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
src/main/java/com/github/creme332/view/TutorialCenter.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.creme332.view; | ||
|
||
import javax.swing.JLabel; | ||
import javax.swing.JPanel; | ||
|
||
public class TutorialCenter extends JPanel { | ||
JLabel test = new JLabel("welcome to tutorial center"); | ||
|
||
public TutorialCenter() { | ||
add(test); | ||
} | ||
} |