PIbd-22_Fedorenko_G.Y._Hydr.../Hydroplane/EntityHydroplane.cs

23 lines
653 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hydroplane.Entities
{
public class EntityHydroplane : EntityPlane
{
public Color AdditionalColor { get; private set; }
public bool Boat { get; private set; }
public bool Bobber { get; private set; }
public EntityHydroplane(int speed, double weight, Color bodyColor, Color
additionalColor, bool boat, bool bobber) : base(speed, weight, bodyColor)
{
AdditionalColor = additionalColor;
Boat = boat;
Bobber = bobber;
}
}
}