Skip to content
Snippets Groups Projects
Commit 8198c03f authored by Max Wittig's avatar Max Wittig
Browse files

added none powerup type

parent 7f6a6801
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ package de.bricked.game.powerups; ...@@ -3,6 +3,7 @@ package de.bricked.game.powerups;
public enum PowerUpType public enum PowerUpType
{ {
NONE(0, -1),
EXTRA_LIFE(1, -1), EXTRA_LIFE(1, -1),
FASTER_BALL(2, 10), FASTER_BALL(2, 10),
SLOWER_BALL(3, 10), SLOWER_BALL(3, 10),
...@@ -11,6 +12,7 @@ public enum PowerUpType ...@@ -11,6 +12,7 @@ public enum PowerUpType
private int id; private int id;
private int durationInSeconds; private int durationInSeconds;
public static PowerUpType[] types = PowerUpType.values();
PowerUpType(int id, int durationInSeconds) PowerUpType(int id, int durationInSeconds)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment