From 0ad31dcca37df9891ed5d5b70f12a966fc821c6d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 3 Dec 2015 04:34:54 +0000 Subject: EiP - 07 --- ws2015/eip/blaetter/07/de/lmu/tcs/Param.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ws2015/eip/blaetter/07/de/lmu/tcs/Param.java (limited to 'ws2015/eip/blaetter/07/de/lmu/tcs/Param.java') diff --git a/ws2015/eip/blaetter/07/de/lmu/tcs/Param.java b/ws2015/eip/blaetter/07/de/lmu/tcs/Param.java new file mode 100644 index 0000000..88f8248 --- /dev/null +++ b/ws2015/eip/blaetter/07/de/lmu/tcs/Param.java @@ -0,0 +1,26 @@ +package de.lmu.tcs; + +import java.awt.*; + +/** + * Sammlung aller extern festgelegten Konstanten + * + * Created by jost on 24.11.15. + */ +public class Param { + + // Konstanten für das Spiel + public static final int SPIEL_HÖHE = 50; + public static final int SPIEL_BREITE = 80; + + // Konstanten für die View + // public static final Color FARBE_LEBENDIG = Color.RED; + // public static final Color FARBE_TOT = Color.WHITE; + public static final Color[] ZELLENFARBE = new Color[] {Color.WHITE, Color.RED, Color.ORANGE, Color.MAGENTA, Color.GREEN, Color.CYAN, Color.BLUE}; + public static final int SKALIERUNG = 10; + + // Konstanten für Durchführung + public static final long RUNDENZEIT = 120; + public static final int RUNDENZAHL = 1000; + +} -- cgit v1.2.3