2023-09-22 21:05:01 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-10-08 21:06:26 +04:00
|
|
|
|
namespace Hydroplane.Entities
|
2023-09-22 21:05:01 +04:00
|
|
|
|
{
|
2023-10-08 21:06:26 +04:00
|
|
|
|
public class EntityHydroplane : EntityPlane
|
2023-09-22 21:05:01 +04:00
|
|
|
|
{
|
|
|
|
|
public Color AdditionalColor { get; private set; }
|
2023-09-22 23:38:10 +04:00
|
|
|
|
public bool Boat { get; private set; }
|
|
|
|
|
public bool Bobber { get; private set; }
|
2023-10-08 21:06:26 +04:00
|
|
|
|
public EntityHydroplane(int speed, double weight, Color bodyColor, Color
|
2023-10-11 09:42:48 +04:00
|
|
|
|
additionalColor, bool boat, bool bobber) : base(speed, weight, bodyColor)
|
2023-09-22 21:05:01 +04:00
|
|
|
|
{
|
|
|
|
|
AdditionalColor = additionalColor;
|
2023-09-22 23:38:10 +04:00
|
|
|
|
Boat = boat;
|
|
|
|
|
Bobber = bobber;
|
2023-09-22 21:05:01 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|