Ещё правка
This commit is contained in:
parent
b6615f1c12
commit
701a08c583
@ -190,6 +190,7 @@ public class DrawingStormtrooper
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Pen pen = new(Color.Black);
|
Pen pen = new(Color.Black);
|
||||||
|
Brush bodyColorBrush = new SolidBrush(EntityStormtrooper.BodyColor);
|
||||||
Brush additionalBrush = new SolidBrush(EntityStormtrooper.AdditionalColor);
|
Brush additionalBrush = new SolidBrush(EntityStormtrooper.AdditionalColor);
|
||||||
//Тело бомбардировщика
|
//Тело бомбардировщика
|
||||||
g.DrawRectangle(pen, _startPosX.Value + 20, _startPosY.Value + 60, 120, 20);
|
g.DrawRectangle(pen, _startPosX.Value + 20, _startPosY.Value + 60, 120, 20);
|
||||||
@ -211,7 +212,7 @@ public class DrawingStormtrooper
|
|||||||
Nose[0].X = _startPosX.Value + 20; Nose[0].Y = _startPosY.Value + 80;
|
Nose[0].X = _startPosX.Value + 20; Nose[0].Y = _startPosY.Value + 80;
|
||||||
Nose[1].X = _startPosX.Value; Nose[1].Y = _startPosY.Value + 70;
|
Nose[1].X = _startPosX.Value; Nose[1].Y = _startPosY.Value + 70;
|
||||||
Nose[2].X = _startPosX.Value + 20; Nose[2].Y = _startPosY.Value + 60;
|
Nose[2].X = _startPosX.Value + 20; Nose[2].Y = _startPosY.Value + 60;
|
||||||
g.FillPolygon(additionalBrush, Nose);
|
g.FillPolygon(bodyColorBrush, Nose);
|
||||||
//Ракеты бомбардировщика
|
//Ракеты бомбардировщика
|
||||||
if (EntityStormtrooper.Rockets)
|
if (EntityStormtrooper.Rockets)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user