This commit is contained in:
Alenka 2023-12-03 23:08:31 +04:00
parent 76a9f320c4
commit 46253bb1f6

View File

@ -10,7 +10,7 @@ namespace Cruiser.Entities
{
public int Speed { get; private set; }
public double Weight { get; private set; }
public Color BodyColor { get; set; }
public Color BodyColor { get; private set; }
public double Step => (double)Speed * 100 / Weight;
public EntityCruiser(int speed, double weight, Color bodyColor)
{