2023-10-03 13:32:33 +04:00
|
|
|
|
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
|
|
|
|
|
{
|
2023-11-18 16:18:44 +04:00
|
|
|
|
public Color AdditionalColor { get; set; }
|
2023-10-03 13:32:33 +04:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|