diff options
Diffstat (limited to 'ws2015/eip/blaetter/07/H7-1C/de/lmu/tcs/Param.java')
-rw-r--r-- | ws2015/eip/blaetter/07/H7-1C/de/lmu/tcs/Param.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ws2015/eip/blaetter/07/H7-1C/de/lmu/tcs/Param.java b/ws2015/eip/blaetter/07/H7-1C/de/lmu/tcs/Param.java new file mode 100644 index 0000000..9907909 --- /dev/null +++ b/ws2015/eip/blaetter/07/H7-1C/de/lmu/tcs/Param.java | |||
@@ -0,0 +1,25 @@ | |||
1 | package de.lmu.tcs; | ||
2 | |||
3 | import java.awt.*; | ||
4 | |||
5 | /** | ||
6 | * Sammlung aller extern festgelegten Konstanten | ||
7 | * | ||
8 | * Created by jost on 24.11.15. | ||
9 | */ | ||
10 | public class Param { | ||
11 | |||
12 | // Konstanten für das Spiel | ||
13 | public static final int SPIEL_HÖHE = 50; | ||
14 | public static final int SPIEL_BREITE = 80; | ||
15 | |||
16 | // Konstanten für die View | ||
17 | // public static final Color FARBE_LEBENDIG = Color.RED; | ||
18 | // public static final Color FARBE_TOT = Color.WHITE; | ||
19 | public static final Color[] ZELLENFARBE = new Color[] {Color.WHITE, Color.RED, Color.ORANGE, Color.MAGENTA, Color.GREEN, Color.CYAN, Color.BLUE}; | ||
20 | public static final int SKALIERUNG = 10; | ||
21 | |||
22 | // Konstanten für Durchführung | ||
23 | public static final long RUNDENZEIT = 1000; // 120; | ||
24 | public static final int RUNDENZAHL = 1000; | ||
25 | } | ||