Some fixes
This commit is contained in:
parent
fc711260d9
commit
8ae8ce81fd
@ -47,7 +47,7 @@ public final class Background {
|
||||
|
||||
g.setColor(color);
|
||||
for (int y = -rad; y < rad; y++) {
|
||||
int x1 = (int) (Math.sqrt(rad * rad - y * y));
|
||||
final int x1 = (int) (Math.sqrt(rad * rad - y * y));
|
||||
for (int x = -x1; x < x1; x++) {
|
||||
final int n = (int) (Util.rand(x1) / shade);
|
||||
if (n > x1 + x) {
|
||||
|
@ -33,7 +33,7 @@ public final class Turret {
|
||||
// Shooting
|
||||
private boolean shootState;
|
||||
private final ShootInfo shootInfo;
|
||||
private final Terrain terrain; // TODO GameInfo
|
||||
private final Terrain terrain;
|
||||
private final Wind wind;
|
||||
private TurretListener listener;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user