PIbd-23_Dyakonov_R_R_Tank/ProjectTank/Entities/EntityTank.cs
2023-10-03 13:32:33 +04:00

24 lines
730 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
namespace ProjectTank.Entities
{
public class EntityTank : EntityTankBase
{
public Color AdditionalColor { get; private set; }
public bool TankTower { get; private set; }
public bool AntiAirforceGun { get; private set; }
public EntityTank(int speed, double weight, Color bodyColor, Color
additionalColor, bool tankTower, bool antiAirforceGun) : base(speed, weight, bodyColor)
{
AdditionalColor = additionalColor;
TankTower = tankTower;
AntiAirforceGun = antiAirforceGun;
}
}
}