done
This commit is contained in:
parent
76a9f320c4
commit
46253bb1f6
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user