Fix
This commit is contained in:
parent
b84c7369ad
commit
0d7397b322
@ -4,8 +4,8 @@ public class DrawingDecks implements IDrawingDecks {
|
||||
private DecksCount deckCount;
|
||||
private Color color;
|
||||
|
||||
public DrawingDecks(int deckCount, Color bodyColor) {
|
||||
setDecksCount(deckCount);
|
||||
public DrawingDecks(int decksCount, Color bodyColor) {
|
||||
setDecksCount(decksCount);
|
||||
color = bodyColor;
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import java.awt.*;
|
||||
|
||||
public class DrawingMotorShip extends DrawingShip {
|
||||
public DrawingMotorShip(int speed, float weight, Color bodyColor, int rollersCount, Color dopColor, boolean pipes, boolean fueltank) {
|
||||
super(speed, weight, bodyColor, rollersCount, 80, 50);
|
||||
public DrawingMotorShip(int speed, float weight, Color bodyColor, int decksCount, Color dopColor, boolean pipes, boolean fueltank) {
|
||||
super(speed, weight, bodyColor, decksCount, 80, 50);
|
||||
ship = new EntityMotorShip(speed, weight, bodyColor, dopColor, pipes, fueltank);
|
||||
}
|
||||
|
||||
|
@ -4,8 +4,8 @@ public class DrawingTriDecks implements IDrawingDecks {
|
||||
private DecksCount decksCount;
|
||||
private Color color;
|
||||
|
||||
public DrawingTriDecks(int rollersCount, Color bodyColor) {
|
||||
setDecksCount(rollersCount);
|
||||
public DrawingTriDecks(int decksCount, Color bodyColor) {
|
||||
setDecksCount(decksCount);
|
||||
color = bodyColor;
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,7 @@ public class FormMap extends JFrame {
|
||||
private Image bufferedImage;
|
||||
|
||||
public FormMap() {
|
||||
this.setTitle("Artillery");
|
||||
this.setTitle("Ship");
|
||||
this.setContentPane(shipPane);
|
||||
|
||||
_abstractMap = new SimpleMap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user