progress working on rhythm map

This commit is contained in:
2017-06-23 15:31:36 -05:00
parent fb10f2081e
commit 329ff21c75
9 changed files with 168 additions and 46 deletions

View File

@@ -13,7 +13,6 @@ import zero1hd.polyjet.entity.Entities;
import zero1hd.polyjet.entity.Entity;
public class VoidCircle extends Actor implements Entity, Poolable {
private float warnTime;
private float timer;
private float endRadius;
private float currentRadius;
@@ -32,7 +31,6 @@ public VoidCircle(Texture voidTexture) {
public void init(float endRadius, float x, float y, float growthRate, float warningTime) {
timer = warningTime;
warnTime = warningTime;
this.endRadius = endRadius;
setSize(2f*endRadius, 2f*endRadius);
center.set(getWidth()/2f, getHeight()/2f);
@@ -89,7 +87,6 @@ public VoidCircle(Texture voidTexture) {
endRadius = 0;
done = false;
begin = false;
warnTime = 0;
center.set(0, 0);
voidCircleTexture.setPosition(0, 0);
setSize(0, 0);