27 lines
754 B
C#
27 lines
754 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; 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;
|
|
}
|
|
public void setAdditionalColor(Color color)
|
|
{
|
|
AdditionalColor = color;
|
|
}
|
|
}
|
|
}
|