19 lines
597 B
C#
19 lines
597 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AirBomber
|
|
{
|
|
internal class AirplaneRectEngines : DrawningAirplaneEngines
|
|
{
|
|
protected override void DrawEngine(Graphics g, Color colorAirplane, RectangleF rectAroundEngine)
|
|
{
|
|
g.FillRectangle(new SolidBrush(colorAirplane), rectAroundEngine);
|
|
g.FillRectangle(new SolidBrush(Color.Black),
|
|
rectAroundEngine.Left, rectAroundEngine.Top, rectAroundEngine.Width / 4, rectAroundEngine.Height);
|
|
}
|
|
}
|
|
}
|