2023-10-06 17:41:21 +04:00
|
|
|
|
using System;
|
2023-09-21 18:40:56 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-10-02 21:42:00 +04:00
|
|
|
|
namespace ProjectAirFighter.Entities
|
|
|
|
|
|
2023-09-21 18:40:56 +04:00
|
|
|
|
{
|
2023-10-02 21:42:00 +04:00
|
|
|
|
public class EntityAirFighter: EntityAirplane
|
2023-09-21 18:40:56 +04:00
|
|
|
|
{
|
|
|
|
|
public Color AdditionalColor { get; private set; }
|
|
|
|
|
public bool Racket { get; private set; }
|
|
|
|
|
public bool Wing { get; private set; }
|
|
|
|
|
|
2023-10-02 21:42:00 +04:00
|
|
|
|
public EntityAirFighter(int speed, double weight, Color bodyColor, Color additionalColor, bool racket, bool wing):
|
|
|
|
|
base(speed,weight,bodyColor)
|
2023-09-21 18:40:56 +04:00
|
|
|
|
{
|
|
|
|
|
AdditionalColor = additionalColor;
|
|
|
|
|
Racket = racket;
|
|
|
|
|
Wing = wing;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|