1
0

Some fixes

This commit is contained in:
Victor 2014-03-28 17:45:41 +02:00
parent fc711260d9
commit 8ae8ce81fd
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public final class Background {
g.setColor(color); g.setColor(color);
for (int y = -rad; y < rad; y++) { 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++) { for (int x = -x1; x < x1; x++) {
final int n = (int) (Util.rand(x1) / shade); final int n = (int) (Util.rand(x1) / shade);
if (n > x1 + x) { if (n > x1 + x) {

View File

@ -33,7 +33,7 @@ public final class Turret {
// Shooting // Shooting
private boolean shootState; private boolean shootState;
private final ShootInfo shootInfo; private final ShootInfo shootInfo;
private final Terrain terrain; // TODO GameInfo private final Terrain terrain;
private final Wind wind; private final Wind wind;
private TurretListener listener; private TurretListener listener;