Updated pixel rounding, turrets and resources no longer "wobble"

This commit is contained in:
Anuken
2017-10-05 16:47:06 -04:00
parent af29eb8c96
commit 2c9921748c
4 changed files with 16 additions and 9 deletions
@@ -44,7 +44,7 @@ public class Player extends DestructibleEntity{
@Override
public void draw(){
Draw.rect("player", x, y, direction.angle()-90);
Draw.rect("player", (int)x, (int)y, direction.angle()-90);
}
@Override