Ну теперь точно всё

This commit is contained in:
DyCTaTOR 2023-12-06 16:39:55 +04:00
parent 8be5839af0
commit c8229c9e72

View File

@ -1,7 +1,6 @@
import java.awt.*; import java.awt.*;
import javax.swing.JPanel; import javax.swing.JPanel;
import java.util.Random; import java.util.Random;
import java.lang.*;
public class DrawningMonorail extends JPanel { public class DrawningMonorail extends JPanel {
private Entity entity; private Entity entity;
@ -138,8 +137,6 @@ public class DrawningMonorail extends JPanel {
g.fillOval(_startPosX + 143, _startPosY + 37, 30, 8); g.fillOval(_startPosX + 143, _startPosY + 37, 30, 8);
g.fillOval(_startPosX + 250, _startPosY + 37, 29, 8); g.fillOval(_startPosX + 250, _startPosY + 37, 29, 8);
//_drawingWheels = new DrawingWheels(g, _startPosX + 140, _startPosY,
//entity.getAdditionalColor(), _countWheels);
_drawingWheels.Draw(g, _startPosX + 140, _startPosY); _drawingWheels.Draw(g, _startPosX + 140, _startPosY);
if (entity.getMonorails()) if (entity.getMonorails())
{ {