-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDriver.java
More file actions
42 lines (37 loc) · 1.1 KB
/
Driver.java
File metadata and controls
42 lines (37 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* Driver class of Slide Into Highschool, holds main method of game
*
* <h2>Course Info:</h2>
* ICS4UP with Krasteva, V.
* Date: June 5st, 2023
* Time Spent: 15 min
* @version 1
* @author Charlie To, Milena Mofrad
*/
public class Driver {
/** Holds the game frame*/
static GameFrame frame;
/**
* main method, runs program
*
*/
public static void main(String[] args) {
frame = new GameFrame("Slide Into Highschool");
frame.setSize(800, 500);
new Splash(frame);
try {
Thread.sleep(6000);
} catch (Exception e) {
}
MainMenu m = new MainMenu(frame);
m.run();
// LibraryGame l = new LibraryGame(frame);
// l.run();
// KickBall k = new KickBall(frame);
// k.run();
// TalkToTeacher t = new TalkToTeacher(frame);
// t.run();
// LibraryGame l = new LibraryGame(frame);
// l.run();
}
}