-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.pde
48 lines (35 loc) · 1.13 KB
/
Constants.pde
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
43
44
45
46
47
48
static class Constants {
static class View {
final static int SCREEN_WIDTH = 1000;
final static int SCREEN_HEIGHT = 800;
final static int FRAME_RATE = 30;
final static int TOP_LINE_POS = 100;
final static int BOTTOM_LINE_POS = 700;
}
static class Simulator {
final static int RADIUS = 5;
final static int DEFAULT_BALL_COUNT = 400;
final static int DEFAULT_TOTAL_SECONDS = 60;
}
static class Gui {
final static int START_BUTTON_WIDTH = 100;
final static int START_BUTTON_HEIGHT = 60;
final static int RESET_BUTTON_WIDTH = 100;
final static int RESET_BUTTON_HEIGHT = 40;
final static int STANDARD_PADDING = 8;
final static int COL_ONE_CONTROL_X = 200;
final static int COL_TWO_CONTROL_X = 600;
final static int TOP_LABEL_PADDING = 20;
final static int LABEL_SPACING = 22;
final static int CONTROL_SPACING = 24;
final static int INPUT_WIDTH = 100;
final static int INPUT_HEIGHT = 20;
}
static class Color {
final static int BLACK = 0;
final static int WHITE = 255;
final static int COVID_GREEN = #45D69A;
final static int COVID_RED = #F45B69;
final static int COVID_PURPLE = #B4ADEA;
}
}