ISEBbd-22_Novopoltsev_A.A._.../Warship/Warship/EntityAdvancedWarship.cs

25 lines
730 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Warship
{
internal class EntityAdvancedWarship : EntityWarship
{
public Color DopColor { get; private set; }
public bool Helipad { get; private set; }
public bool Antenna { get; private set; }
public bool Missile { get; private set; }
public EntityAdvancedWarship(int speed, float weight, Color bodyColor, Color dopColor, bool helipad, bool antenna, bool missile) : base(speed, weight, bodyColor)
{
DopColor = dopColor;
Helipad = helipad;
Antenna = antenna;
Missile = missile;
}
}
}