Добавление деталей корпуса
This commit is contained in:
parent
025940e303
commit
970a1b77b3
@ -91,6 +91,13 @@ public class DrawingArmoredCar
|
||||
return;
|
||||
}
|
||||
|
||||
// Гусеницы
|
||||
gc.setFill(Color.GRAY);
|
||||
gc.fillRect(_startPosX + 10, _startPosY + 20, 70, 20);
|
||||
gc.fillOval(_startPosX, _startPosY + 20, 20, 20);
|
||||
gc.fillOval(_startPosX + 70, _startPosY + 20, 20, 20);
|
||||
_drawingRollers.DrawRollers(gc, _startPosX, _startPosY);
|
||||
|
||||
// Броня
|
||||
gc.setStroke(Color.BLACK);
|
||||
gc.setLineWidth(2);
|
||||
@ -99,13 +106,9 @@ public class DrawingArmoredCar
|
||||
gc.fillRect(_startPosX + 5, _startPosY + 10, 80, 10);
|
||||
gc.strokeRect(_startPosX + 25, _startPosY, 40, 10);
|
||||
gc.strokeRect(_startPosX + 5, _startPosY + 10, 80, 10);
|
||||
|
||||
// Гусеницы
|
||||
gc.setFill(Color.GRAY);
|
||||
gc.fillRect(_startPosX + 10, _startPosY + 20, 70, 20);
|
||||
gc.fillOval(_startPosX, _startPosY + 20, 20, 20);
|
||||
gc.fillOval(_startPosX + 70, _startPosY + 20, 20, 20);
|
||||
_drawingRollers.DrawRollers(gc, _startPosX, _startPosY);
|
||||
gc.fillOval(_startPosX + 27, _startPosY + 16, 8, 8);
|
||||
gc.fillOval(_startPosX + 40, _startPosY + 16, 8, 8);
|
||||
gc.fillOval(_startPosX + 53, _startPosY + 16, 8, 8);
|
||||
}
|
||||
|
||||
public void ChangeBorders(int width, int height)
|
||||
|
Loading…
Reference in New Issue
Block a user