-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGC.java
42 lines (31 loc) · 1.18 KB
/
GC.java
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
// Alexandra Qin
package DoodleFall;
// Game Constants
public class GC
{
public static final int APPLET_HEIGHT = 400;
public static final int APPLET_WIDTH = 200;
public static final int POINTS_X = 170;
public static final int POINTS_Y = 20;
public static final int GAME_OVER_X = 50;
public static final int GAME_OVER_Y = 100;
public static final int PLAYER_IMAGE_HEIGHT = 23;
public static final int PLAYER_IMAGE_WIDTH = 22;
public static final int PLAYER_START_X = 100;
public static final int PLAYER_START_Y = 10;
public static final int PLAYER_MOVE_X_SPEED = 5;
public static final int PLAYER_START_FALL_SPEED = 0;
public static final int LIFE_IMAGE_HEIGHT = 10;
public static final int LIFE_IMAGE_WIDTH = 10;
public static final int LIFE_X = 10;
public static final int LIFE_Y = 10;
public static final int START_LIVES = 3;
public static final int BONUS_HEIGHT = 15;
public static final int BONUS_WIDTH = 15;
public static final int ENEMY_HEIGHT = 6;
public static final int ENEMY_WIDTH = 30;
public static final int ENEMY_MOVE_SPEED = 1;
public static final int ENEMY_NUM = 10;
public static final int FALL_COUNT = 1000;
public static final int MOVE_COUNT = 1500;
}