еще правки лабы 6
This commit is contained in:
parent
c9a2398e47
commit
8c059e0262
@ -9,9 +9,9 @@ namespace Sailboat.Entities
|
||||
public class EntitySailboat : EntityBoat
|
||||
{
|
||||
public Color AdditionalColor { get; set; }
|
||||
public void setAdditionalColor(Color color) { AdditionalColor = color; }
|
||||
public bool Hull { get; private set; }
|
||||
public bool Sail { get; private set; }
|
||||
public void setAdditionalColor(Color color) { AdditionalColor = color; }
|
||||
public EntitySailboat(int speed, double weight, Color bodyColor, Color
|
||||
additionalColor, bool hull, bool sail) : base (speed, weight, bodyColor)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user