Commit 3560e53b authored by MAhrens's avatar MAhrens
Browse files

Each time bubbles fall down, the other player gets a bubble randomly shot on his field

parent f8a0ec10
......@@ -273,11 +273,13 @@ public class GameScreen implements Screen {
{
p.score+=points;
iterator.remove();
p2.timer=0;
}
if(y > wHeight - 3*bubblradius && !lower)
{
p.score+=points;
iterator.remove();
p1.timer=0;
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment