Spielscreen (#17)

This commit is contained in:
Johannes Hochwart
2021-12-04 15:14:00 +01:00
parent dbcc91cd61
commit 17cb0190c9
9 changed files with 652 additions and 17 deletions

View File

@@ -26,6 +26,78 @@ public enum Card {
JUGGLER, JUGGLER_BLUE, JUGGLER_RED, JUGGLER_GREEN, JUGGLER_YELLOW;
public enum Suit {
NONE, YELLOW, RED, GREEN, BLUE
NONE {
public float getRed() {
return 255.0f;
}
public float getGreen() {
return 255.0f;
}
public float getBlue() {
return 255.0f;
}
},
YELLOW {
public float getRed() {
return 255.0f;
}
public float getGreen() {
return 255.0f;
}
public float getBlue() {
return 0.0f;
}
},
RED{
public float getRed() {
return 238.0f;
}
public float getGreen() {
return 0.0f;
}
public float getBlue() {
return 0.0f;
}
},
GREEN{
public float getRed() {
return 0.0f;
}
public float getGreen() {
return 255.0f;
}
public float getBlue() {
return 0.0f;
}
},
BLUE{
public float getRed() {
return 0.0f;
}
public float getGreen() {
return 0.0f;
}
public float getBlue() {
return 139.0f;
}
};
public float getAlpha() {
return 0.5f;
}
public float getRed() {
return 0.f;
}
public float getGreen() {
return 0.f;
}
public float getBlue() {
return 0.f;
}
}
}
}