Updated pixel rounding, turrets and resources no longer "wobble"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user