refactoring
This commit is contained in:
parent
e9d0046f62
commit
908ca82192
@ -11,8 +11,7 @@ namespace AirFighter
|
||||
public DrawingModernAirFighter(int speed, float weight, Color bodyColor, Color dopColor, bool dopWings, bool rockets) :
|
||||
base(speed, weight, bodyColor, 195, 166)
|
||||
{
|
||||
AirFighter = new EntityModernAirFighter(speed, weight, bodyColor, dopColor, dopWings,
|
||||
rockets);
|
||||
AirFighter = new EntityModernAirFighter(speed, weight, bodyColor, dopColor, dopWings, rockets);
|
||||
}
|
||||
public override void DrawTransport(Graphics g)
|
||||
{
|
||||
@ -28,22 +27,7 @@ namespace AirFighter
|
||||
|
||||
if (modernAirFighter.DopWings)
|
||||
{
|
||||
/*PointF[] topDopWing =
|
||||
{
|
||||
new(_startPosX + 75, _startPosY + 14),
|
||||
new(_startPosX + 86, _startPosY + 14),
|
||||
new(_startPosX + 75, _startPosY + 70),
|
||||
new(_startPosX + 70, _startPosY + 70),
|
||||
};*/
|
||||
|
||||
/* PointF[] topDopWing =
|
||||
{
|
||||
new(_startPosX + 78, _startPosY + 56),
|
||||
new(_startPosX + 75, _startPosY + 70),
|
||||
new(_startPosX + 55, _startPosY + 70),
|
||||
new(_startPosX + 55, _startPosY + 45),
|
||||
//new(_startPosX + 60, _startPosY + 55),
|
||||
};*/
|
||||
|
||||
PointF[] topDopWing =
|
||||
{
|
||||
@ -110,11 +94,7 @@ namespace AirFighter
|
||||
}
|
||||
|
||||
|
||||
/* _startPosX += 10;
|
||||
_startPosY += 5;*/
|
||||
base.DrawTransport(g);
|
||||
/* _startPosX -= 10;
|
||||
_startPosY -= 5;*/
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user