PIbd_23_Kislitsa_E.D_AirFig.../AirFighter/EntityAirFighter.cs

25 lines
657 B
C#
Raw Normal View History

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
{
2023-11-19 00:11:44 +04:00
public Color AdditionalColor { get; set; }
2023-09-21 18:40:56 +04:00
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;
}
}
}