PIbd22_NikiforovaMV_Contain.../ContainerShip/EntityContainerShip.cs

26 lines
705 B
C#
Raw Permalink Normal View History

2023-11-25 12:27:56 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
2023-11-25 12:44:21 +04:00
namespace ContainerShip.Entities
2023-11-25 12:27:56 +04:00
{
2023-11-25 12:44:21 +04:00
public class EntityContainerShip : EntityShip
2023-11-25 12:27:56 +04:00
{
public Color AdditionalColor { get; private set; }
public bool Load { get; private set; }
public bool Crane { get; private set; }
2023-11-25 12:44:21 +04:00
public EntityContainerShip(int speed, double weight, Color bodyColor, Color additionalColor, bool load, bool crane) : base(speed, weight, bodyColor)
2023-11-25 12:27:56 +04:00
{
AdditionalColor = additionalColor;
Load = load;
Crane = crane;
}
}
}