Доработки
This commit is contained in:
parent
deba91e044
commit
930a436de9
@ -28,7 +28,6 @@ public class FormWarshipCreator extends JDialog{
|
|||||||
private DrawingWarship selectedWarship;
|
private DrawingWarship selectedWarship;
|
||||||
private boolean isModified = false;
|
private boolean isModified = false;
|
||||||
|
|
||||||
|
|
||||||
public FormWarshipCreator(){
|
public FormWarshipCreator(){
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,6 @@ public class MapWithSetWarshipsGeneric <T extends IDrawingObject,U extends Abstr
|
|||||||
g.drawLine(i * _placeSizeWidth + _placeSizeWidth, j * _placeSizeHeight + _placeSizeHeight / 2, i * _placeSizeWidth+ (int)(_placeSizeWidth * 0.8), j * _placeSizeHeight + _placeSizeHeight);
|
g.drawLine(i * _placeSizeWidth + _placeSizeWidth, j * _placeSizeHeight + _placeSizeHeight / 2, i * _placeSizeWidth+ (int)(_placeSizeWidth * 0.8), j * _placeSizeHeight + _placeSizeHeight);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawWarship(Graphics gr)
|
private void DrawWarship(Graphics gr)
|
||||||
|
@ -37,7 +37,6 @@ public class SetWarshipsGeneric<T extends Object>{
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public T Remove(int position)
|
public T Remove(int position)
|
||||||
{
|
{
|
||||||
if (position >= getCount() || position < 0 || _places[position] == null)
|
if (position >= getCount() || position < 0 || _places[position] == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user