New colors, collision detection, refactoring

This commit is contained in:
id101010
2016-06-17 11:05:48 +02:00
parent 969a4e7869
commit effc25dac0
2 changed files with 74 additions and 17 deletions

View File

@@ -15,7 +15,14 @@ public class FieldCanvas extends JPanel{
static final int borderRight = 5;
static final int borderTop = 100;
static final int borderBottom = 5;
static final Color[] colors = {Color.red,Color.green, Color.blue, Color.yellow,Color.magenta};
static final Color[] colors = {
new Color(0xD66436),
new Color(0x486F70),
new Color(0xCBD840),
new Color(0x8B2700),
new Color(0x33CCCC)
};