From f04b2b4c5aabedb30e0d04c433851747b2fdaef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Sun, 25 Sep 2022 16:21:53 +0400 Subject: [PATCH 1/5] Added enum Direction --- Direction.java | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Direction.java diff --git a/Direction.java b/Direction.java new file mode 100644 index 0000000..a641b80 --- /dev/null +++ b/Direction.java @@ -0,0 +1,6 @@ +public enum Direction { + Up, + Down, + Left, + Right +} From d0cfbc503d68c8b1523df772a5dd4c3ea6ace7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Sun, 25 Sep 2022 16:31:57 +0400 Subject: [PATCH 2/5] Added class EntityArtillery --- EntityArtillery.java | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 EntityArtillery.java diff --git a/EntityArtillery.java b/EntityArtillery.java new file mode 100644 index 0000000..4367dae --- /dev/null +++ b/EntityArtillery.java @@ -0,0 +1,31 @@ +import java.awt.*; +import java.util.Random; + +public class EntityArtillery { + private int speed; + private float weight; + private Color bodyColor; + + public void Init(int speed, float weight, Color bodyColor) { + Random rnd = new Random(); + this.speed = speed <= 0 ? rnd.nextInt(50, 150) : speed; + this.weight = weight <= 0 ? rnd.nextInt(40, 70) : weight; + this.bodyColor = bodyColor; + } + + public int getSpeed() { + return speed; + } + + public float getWeight() { + return weight; + } + + public Color getBodyColor() { + return bodyColor; + } + + public float getStep() { + return speed * 100 / weight; + } +} From 05c9d6614e218e7eea7615743419841c79322a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Sun, 25 Sep 2022 16:54:39 +0400 Subject: [PATCH 3/5] Added enum WheelCount --- WheelCount.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 WheelCount.java diff --git a/WheelCount.java b/WheelCount.java new file mode 100644 index 0000000..11e1592 --- /dev/null +++ b/WheelCount.java @@ -0,0 +1,5 @@ +public enum WheelCount { + Four, + Five, + Six +} From 346581751dc479a23e8388666fb8bc31c5757214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Sun, 25 Sep 2022 19:20:16 +0400 Subject: [PATCH 4/5] Work is done --- DrawingArtillery.java | 112 ++++++++++++++++++++ DrawingRollers.java | 39 +++++++ FormArtillery.form | 152 +++++++++++++++++++++++++++ FormArtillery.java | 75 +++++++++++++ Program.java | 10 ++ Resources/ArrowDown.png | Bin 0 -> 17387 bytes Resources/ArrowLeft.png | Bin 0 -> 11448 bytes Resources/ArrowRight.png | Bin 0 -> 9528 bytes Resources/ArrowUp.png | Bin 0 -> 17393 bytes WheelCount.java => RollersCount.java | 2 +- 10 files changed, 389 insertions(+), 1 deletion(-) create mode 100644 DrawingArtillery.java create mode 100644 DrawingRollers.java create mode 100644 FormArtillery.form create mode 100644 FormArtillery.java create mode 100644 Program.java create mode 100644 Resources/ArrowDown.png create mode 100644 Resources/ArrowLeft.png create mode 100644 Resources/ArrowRight.png create mode 100644 Resources/ArrowUp.png rename WheelCount.java => RollersCount.java (52%) diff --git a/DrawingArtillery.java b/DrawingArtillery.java new file mode 100644 index 0000000..87ba62b --- /dev/null +++ b/DrawingArtillery.java @@ -0,0 +1,112 @@ +import java.awt.*; + +public class DrawingArtillery { + private EntityArtillery artillery; + private DrawingRollers drawingRollers; + private float _startPosX; + private float _startPosY; + private Integer _pictureWidth = null; + private Integer _pictureHeight = null; + private final int _artilleryWidth = 80; + private final int _artilleryHeight = 50; + + public EntityArtillery getArtillery() { + return artillery; + } + + public void Init(int speed, float weight, Color bodyColor, int rollersCount) { + artillery = new EntityArtillery(); + artillery.Init(speed, weight, bodyColor); + drawingRollers = new DrawingRollers(rollersCount, bodyColor); + } + + public void SetPosition(int x, int y, int width, int height) { + if (x < 0 || x + _artilleryWidth >= width) + { + return; + } + + if (y < 0 || y + _artilleryHeight >= height) + { + return; + } + + _startPosX = x; + _startPosY = y; + _pictureWidth = width; + _pictureHeight = height; + } + + public void moveTransport(Direction direction) + { + if (_pictureWidth == null || _pictureHeight == null) + { + return; + } + switch (direction) + { + case Right: + if (_startPosX + _artilleryWidth + artillery.getStep() < _pictureWidth) + { + _startPosX += artillery.getStep(); + } + break; + + case Left: + if (_startPosX - artillery.getStep() >= 0) + { + _startPosX -= artillery.getStep(); + } + break; + + case Up: + if (_startPosY - artillery.getStep() >= 0) + { + _startPosY -= artillery.getStep(); + } + break; + + case Down: + if (_startPosY + _artilleryHeight + artillery.getStep() < _pictureHeight) + { + _startPosY += artillery.getStep(); + } + break; + } + } + + public void drawTransport(Graphics2D g) { + if (_startPosX < 0 || _startPosY < 0 || _pictureHeight == null || _pictureWidth == null) + { + return; + } + g.setColor(artillery.getBodyColor() != null ? artillery.getBodyColor() : Color.BLACK); + g.fillRect((int) (_startPosX + _artilleryWidth / 8 * 2), (int) _startPosY, _artilleryWidth / 8 * 4, _artilleryWidth / 5); + g.fillRect((int) _startPosX, (int) (_startPosY + _artilleryHeight / 5), _artilleryWidth, _artilleryHeight / 3); + + + g.setColor(Color.GRAY); + g.fillOval((int) _startPosX, (int) (_startPosY + _artilleryHeight * 2 / 5), _artilleryWidth, _artilleryHeight * 2 / 5); + drawingRollers.draw(g, (int) _startPosX, (int) _startPosY, _artilleryWidth, _artilleryHeight); + } + + public void changeBorders(int width, int height) + { + _pictureWidth = width; + _pictureHeight = height; + if (_pictureWidth <= _artilleryWidth || _pictureHeight <= _artilleryHeight) + { + _pictureWidth = null; + _pictureHeight = null; + return; + } + if (_startPosX + _artilleryWidth > _pictureWidth) + { + _startPosX = _pictureWidth - _artilleryWidth; + } + if (_startPosY + _artilleryHeight > _pictureHeight) + { + _startPosY = _pictureHeight - _artilleryHeight; + } + } +} diff --git a/DrawingRollers.java b/DrawingRollers.java new file mode 100644 index 0000000..7013eac --- /dev/null +++ b/DrawingRollers.java @@ -0,0 +1,39 @@ +import java.awt.*; + +public class DrawingRollers { + private RollersCount rollersCount; + private Color color; + + public DrawingRollers(int rollersCount, Color rollersColor) { + setRollersCount(rollersCount); + color = rollersColor; + } + + public void setRollersCount(int num) { + if (num <= 4) { + rollersCount = RollersCount.Four; + } else if (num >= 6) { + rollersCount = RollersCount.Six; + } else { + rollersCount = RollersCount.Five; + } + } + + public void draw(Graphics2D g, int x, int y, int artilleryWidth, int artilleryHeight) { + g.setColor(color != null ? color : Color.BLACK); + g.fillOval(x + artilleryWidth / 20, y + artilleryHeight * 7 / 15, artilleryWidth * 4 / 20, artilleryHeight * 10 / 32); + g.fillOval(x + artilleryWidth * 15 / 20, y + artilleryHeight * 7 / 15, artilleryWidth * 4 / 20, artilleryHeight * 10 / 32); + switch (rollersCount) { + case Six: { + g.fillOval(x + artilleryWidth * 8 / 20, y + artilleryHeight * 10 / 16, artilleryWidth * 2 / 20, artilleryHeight * 6 / 32); + } + case Five: { + g.fillOval(x + artilleryWidth * 10 / 20, y + artilleryHeight * 10 / 16, artilleryWidth * 2 / 20, artilleryHeight * 6 / 32); + } + case Four: { + g.fillOval(x + artilleryWidth * 5 / 20, y + artilleryHeight * 9 / 16, artilleryWidth * 3 / 20, artilleryHeight * 8 / 32); + g.fillOval(x + artilleryWidth * 12 / 20, y + artilleryHeight * 9 / 16, artilleryWidth * 3 / 20, artilleryHeight * 8 / 32); + } + } + } +} diff --git a/FormArtillery.form b/FormArtillery.form new file mode 100644 index 0000000..243bd18 --- /dev/null +++ b/FormArtillery.form @@ -0,0 +1,152 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FormArtillery.java b/FormArtillery.java new file mode 100644 index 0000000..2198e3e --- /dev/null +++ b/FormArtillery.java @@ -0,0 +1,75 @@ +import javax.swing.*; +import java.awt.*; +import java.awt.event.ComponentAdapter; +import java.awt.event.ComponentEvent; +import java.util.Random; + +public class FormArtillery extends JFrame { + private JPanel artilleryPane; + private JLabel speedLabel; + private JLabel weightLabel; + private JLabel colorLabel; + private JPanel pictureBox; + private JButton createButton; + private JButton buttonUp; + private JButton buttonDown; + private JButton buttonLeft; + private JButton buttonRight; + + private DrawingArtillery _artillery; + + public FormArtillery() { + this.setTitle("Artillery"); + this.setContentPane(artilleryPane); + createButton.addActionListener(e -> { + Random rnd = new Random(); + _artillery = new DrawingArtillery(); + _artillery.Init( + rnd.nextInt(100, 300), + rnd.nextInt(1000, 2000), + new Color( + rnd.nextInt(0, 256), + rnd.nextInt(0, 256), + rnd.nextInt(0, 256)), + rnd.nextInt(4, 7) + ); + _artillery.SetPosition(10 + rnd.nextInt(90), 10 + rnd.nextInt(90), pictureBox.getWidth(), pictureBox.getHeight()); + speedLabel.setText(String.format("Скорость: %s", _artillery.getArtillery().getSpeed())); + weightLabel.setText(String.format("Вес: %s", _artillery.getArtillery().getWeight())); + colorLabel.setText(String.format("Цвет: %x", _artillery.getArtillery().getBodyColor().getRGB())); + repaint(); + }); + pictureBox.addComponentListener(new ComponentAdapter() { + @Override + public void componentResized(ComponentEvent e) { + if (_artillery != null) _artillery.changeBorders(e.getComponent().getWidth(), e.getComponent().getHeight()); + repaint(); + } + }); + buttonLeft.addActionListener(e -> { + if (_artillery != null) _artillery.moveTransport(Direction.Left); + repaint(); + }); + buttonRight.addActionListener(e -> { + if (_artillery != null) _artillery.moveTransport(Direction.Right); + repaint(); + }); + buttonUp.addActionListener(e -> { + if (_artillery != null) _artillery.moveTransport(Direction.Up); + repaint(); + }); + buttonDown.addActionListener(e -> { + if (_artillery != null) _artillery.moveTransport(Direction.Down); + repaint(); + }); + } + + @Override + public void paint(Graphics g) { + super.paint(g); + Graphics2D g2d = (Graphics2D) artilleryPane.getGraphics(); + if (_artillery != null) { + _artillery.drawTransport(g2d); + } + } +} diff --git a/Program.java b/Program.java new file mode 100644 index 0000000..36372f9 --- /dev/null +++ b/Program.java @@ -0,0 +1,10 @@ +import javax.swing.*; + +public class Program { + public static void main(String[] args) { + FormArtillery form = new FormArtillery(); + form.setSize(640, 480); + form.setVisible(true); + form.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); + } +} diff --git a/Resources/ArrowDown.png b/Resources/ArrowDown.png new file mode 100644 index 0000000000000000000000000000000000000000..35064b4fab272bee730d8d88b15a3b0b9a17c83e GIT binary patch literal 17387 zcmeI4S6EZo`|sbKKthQi76?OgL_q~45CJKQjw4tY7n;gdO6FBb8#;I=k8n`d7hB9*R%Hy-@V@TuFv~jdARYr zx#=3QpTq!Q&EZ489!Kwr-(MmW^xKe;_YZo*e2<&{0(m_7&*(tNb^mYs0SaQommGxA zv8dM}YhM6~y6-RS`NjKA=z@O_|GNK=Lr2FF_Z+SJeZ%#(^KKpwPN^A)oM!yhr|ES+ z^PGQR;H2cIf8xWH`ue_nY~SDW{^kwc6EXzm)6Oy0*z~aQbdlEWn{6Z`s z$}-=v_)mp8zua;9Pb1$FsxRlzOxAiw-1*bQ$!u~(Ca65^ir=HB3*xW(SeK6Mm*n1v z53!94?>lrNKHlBmTW~7*to@rMyCaq5)!sV~?{l7-y`}N#3t8sN+4<`VOCF5&vKmKI@dkWXpKbp6a;;FUdP=9MZZgFEaB);8k-3l5+ zIDF9j*Sud?e}1L6j-{-xo!@M@f!O(9g*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94LzQ-@~?= zUjsy+yQlLRi>~S8q3FpPby&ZPFOAEP1X}yO-iCT^PRX045Mcc^Q&_0#w#Qfj=yxx= zxLUk43DpJ0?`U)MEjKNYS-cn?@9m^#iG$1A(ZrK=By${F$@vyh1J?#iOH7 z;%}jPa`W4PxL-ASv2!S}pd=-O1X0aaMJ*F&4UNe_PeJ(U5gJ@+IFHuqcOgTEXXbOq zhExFtd=oB*+DOg_$be6=5$i0Bp;cpo435QdiJ^w3^W8vftDZg{u;78Pw3h<)pGT~} zlzFGuibK>JlhTD&R9ZYFfn&*h$jrjc^r4F+81PT84n4u24+i2dWVX4_q*hcl^pc_8 zT{C;xC2zV6kniXdu=w4|(8ORMz&m9ul&m&yi2gJ?=gP1`G>994HHsKvW>NKYTQ5NU zM0V#yhLdubBAn|(ep_7!DxdfmE`c^l70z_=&=U+o#?C{OZP0|?Q?~mMis;NuINOrSVvFu0XNqz{G2g9<-J0O_C~}yd13z@S=x>m za%6Pj9zq%=5@N_H-_98e?Sgk}cDhZhnt*!oXX+{a~75k;0UQ(aIssyP2*|yrY zV!WrZmIUJcOAj%xq%g#Kb*`GmbA3ju$Y1O)BBkDved cPk>X#=Ps^-Ld$i!j@6LP_YeHv|J&hz0mHceEC2ui literal 0 HcmV?d00001 diff --git a/Resources/ArrowLeft.png b/Resources/ArrowLeft.png new file mode 100644 index 0000000000000000000000000000000000000000..dc1eb1bca20586b6bf47fac52db7e5d192c29289 GIT binary patch literal 11448 zcmeHN`(KRP_un%OGef208krhVCki7eV?X}-)?e*;aWTSF| zuUWeu?Fb=eW5;+;#!qYdSJW2&ddQCch9A5olYK{$qqln2Ll8ua7(arL{B7-xB_^8pzP_Vipl_-Xj9 zmhhUPFUyKd+O}=GJmkgU@Z6(Q-ZQgD9(p!wSm4}Cmmh3hEPt?m;a>gT?U#!JY+{dB zCTFY9{ahGWkXj*C`x2GPxOwa9g->ccHR;}o5hF$28jdy%u6q4>+oYOa(kGMC9CI~^ z_MffJ*=N37-ky9JArg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@I4Pvc>`V!cne@0DSQ!C4wgI#*8LEbDd5*C;Y{3tbtq8!%c7i}nwtB7Ux!JS*#Vv& zD4dxH7(GXbh7eFDZ^SK|ITR?grt5HT(2s&Pdd{*q41a?*{qV(a(2qlgFN1aZX~iMe zWFX4KB1uz&3qMIz3E$z8Z2^AbA?8CI4RMR6#v0<^D&dn|@PVFl4mGtFfeZpg%F4uU z-~v5oSp;07=e+lZ5i%q}0HG($&*R$`?K!8BIMHo+G}5f&K|~xwF3KCxYiQ58fC8lN z+9*&Fxn5IK45p@sO5EW3WQn{HJ%?<`H(!YWbncajZ3r2E+}sJOlRh@+;lb7A0xM3b zV8x{_=UGv8juo>{on^(~Ojdkxs*sAhiyAc#zXCmK(jG16P(CXq%$+Y$;rCm2@5=KC zK0ci~K~-z)(OjrjU~lSyxXuryTKcJG?C`60#Z*geb>{&MZGq!w)>z^_Q`i-II7QDI zE$zCLHL@MSYB_a{VZ{NqYyeeL&a(k{c?VIW@^QJW*s^vyD^AmK;<`ZA}W{eUy-KGD20RCaPYKN7B=-`L)kw1 zAv^5cH;#s)7|`Yz)xLJHid~+27dBDSW40_sVN?HNjo*~AoX8UIvZ?p~HILPcUBtrf_H5+Jof}!} z)Hyhz!umkEnuQmCV3+Tpe8&!tE1RcI`jQ(8goiEu<+|ak634$lG!xs`qi=4Ic1hCJa6zN7XFsYS^GG0 z))ju7^HZfPJkN|xqcZ4J_Rjjhsh1ri74a@J3PXP-AvNt zR@V5hS4DKS(w%!*F|?iyOqzinj4gKQ;VRaL;vDN*H1}^d0Bu*+<%W3|S+Q_wFioDt zLvz+>)>l$6ySDPw`K+%VOEj#n z`S>={4@vP_(Q4OXLjL{pF9ZKF@Gk@Z2Lrm9r~mwrpzNMx=~|oifGYp@|62VoFK=2Y literal 0 HcmV?d00001 diff --git a/Resources/ArrowRight.png b/Resources/ArrowRight.png new file mode 100644 index 0000000000000000000000000000000000000000..fc1670f2afb378f771c08adc8d9bb4776ff948c8 GIT binary patch literal 9528 z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cDaBSSlLu`jRBj5Ts(stj>%2j?KR;~$u=M?qSO|zqz7K6~h_ylKwBgUk z!#V)MBL^C*vjdX!L8FDR=~yn59bie=UVol~T7jIwH7E-R!!-z2bAZV4oI-AWoXA@S zpo?BWI61$kFQ#5=x0kKv-$P8oMJv)*!k$t=<)jD75LU_ps)=hUJa;jgkyxCz6k#f( z+0Lxa<|k=)nv&ORZ!4VvVt{a`k$Gt}Ovd7`ZWQ$EX$vL1P!R=GRB&Y594&`=qRIHHyVAUC(}^sOykys zEmwkAOd9BvDXr$Pwzm~ZVBm5nZO{ZOrku6gS3iCXJrC)zYisPx2i-&6t9q;3Zc}wg z%HDwN11@~AWvK0UMw{3X865+fAIDRMx2ZS`F?2+Um3k_-wk*qxLX zDDd8*txxSTKICeIPDE{ZWK8Ll-n%VJA5E7Z%eB=f|E68j$gUEOj!{L6KKErgJQoC= z=Rp+DwyZ*TpBk;P0Y#WX_)?8m9t<<6R^DkQG^9o(3GNU0s*Std$watRU|=Thme9DV zq&TH19R6fFMO@(GizWcgtiaYE(Z-}{=(IXf*rpxYAH7a>vxQ@xU4{2vf^-htd#9zy z8CoJ~3s4XT1yq71jy*pAF(qOYzi~%B1*NI1~RIM^NwsJl-pKKlaqyTds z0ha*e{4mBpn_{4e_X`GZL?(^6tog7(Um7A@1lI&)f#Dv|hC@`G zEoNJWi?DDs78<%YjKGDr`SWr!w6n4kJHr5xgH1O@frm|pWzKAdrt`N2@AozjH#3YLrhr}@mZ|8rZ F`41&5*d71? literal 0 HcmV?d00001 diff --git a/Resources/ArrowUp.png b/Resources/ArrowUp.png new file mode 100644 index 0000000000000000000000000000000000000000..7f1bb55ed518954155ea23ca8fcc9d71697ef607 GIT binary patch literal 17393 zcmeI4c|25Y{P(|Sh9L$mVq~in6)}-zEYU`bJ9l??mWWZ9lw`@8IHjnYblVA|a<|2cS}bEmDSH_)C_81z_FVTL&mYepzt{8E^VgHtYs__ybB_6(>$<+*_xE!huK#|> zLPBhf7ywA@-?!%v^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5jf2&c>&V}8Ba;kRpz;xL^%@qFZ7IcI5_?nN-Qz+FIw3p;(XHM?qpu8_acT+EU5BdeMU$N+R&z*OuwxKWLimeW#2Kfan}KJ5qj{_^UMnpW5y`&D-biof)iw8-qAiv zBcbeA*FbrA+`-Kg6deSo$sf2ny0{E7+)5>WXVf>sEd!o_vIzwoH#i=m*CNkvQ*u24 zXXn2PI?o~VF*M~m_T4)}TyjjqB30H*1^I3I3jD9Ay3oQ8>G{0I*r%6v-WP7H57uN5 zO+&8M&@kVXT_OPGqJlI#?0iAo8Obs4j#OzgqbKv4(+d17lo&T7AIRq&w&S#lFX`04 z*jjx>es!~sDxOr4msu(~#zQl4BhH@kX~P!V4!8+5ei$?=83tukK1IWecCMeu46!t^ z?EY|AgLL1cMV_(h{r;s|KM`iqq6J!T{E=;}3Ilr~K?uNP86F34TMhetCBXL$aDW6j zTgYrbKw~^?S_Tlj5;kJ!`8m?<4FCiCf1UK}M*JEPzoy2o81XAu{>mD^(&sNE_{B!Q zAn_M1|0)}P)la_)$zK)qFPGq#UGmE}`emT~auWYPvs8cfE* Date: Tue, 27 Sep 2022 16:22:49 +0400 Subject: [PATCH 5/5] Constructors have been eliminated --- DrawingArtillery.java | 3 ++- DrawingRollers.java | 4 ++-- FormArtillery.java | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/DrawingArtillery.java b/DrawingArtillery.java index 87ba62b..f765894 100644 --- a/DrawingArtillery.java +++ b/DrawingArtillery.java @@ -17,7 +17,8 @@ public class DrawingArtillery { public void Init(int speed, float weight, Color bodyColor, int rollersCount) { artillery = new EntityArtillery(); artillery.Init(speed, weight, bodyColor); - drawingRollers = new DrawingRollers(rollersCount, bodyColor); + drawingRollers = new DrawingRollers(); + drawingRollers.Init(rollersCount, bodyColor); } public void SetPosition(int x, int y, int width, int height) { diff --git a/DrawingRollers.java b/DrawingRollers.java index 7013eac..0b2b1fc 100644 --- a/DrawingRollers.java +++ b/DrawingRollers.java @@ -4,9 +4,9 @@ public class DrawingRollers { private RollersCount rollersCount; private Color color; - public DrawingRollers(int rollersCount, Color rollersColor) { + public void Init(int rollersCount, Color bodyColor) { setRollersCount(rollersCount); - color = rollersColor; + color = bodyColor; } public void setRollersCount(int num) { diff --git a/FormArtillery.java b/FormArtillery.java index 2198e3e..8e75a9a 100644 --- a/FormArtillery.java +++ b/FormArtillery.java @@ -42,7 +42,7 @@ public class FormArtillery extends JFrame { pictureBox.addComponentListener(new ComponentAdapter() { @Override public void componentResized(ComponentEvent e) { - if (_artillery != null) _artillery.changeBorders(e.getComponent().getWidth(), e.getComponent().getHeight()); + if (_artillery != null) _artillery.changeBorders(pictureBox.getWidth(), pictureBox.getHeight()); repaint(); } });