PI-12_Zaytsev_A.V_LabWork01_Base #4
@ -65,9 +65,12 @@ public class DrawingDoubleDeckerBus
|
||||
return;
|
||||
}
|
||||
|
||||
if (x < 0 || y < 0)
|
||||
if (x < 0)
|
||||
{
|
||||
x = -x;
|
||||
}
|
||||
if (y < 0)
|
||||
{
|
||||
y = -y;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user