public VisualObject(string name, Speed speed, Coordinate location, Color color, Color historyColor, double rotation = 0) { this.Name = name; this.Speed = speed; this.CurrentLocation = location; this.CurrentColor = color; this.HistoryColor = historyColor; this.Rotation = rotation; this.LocationHistory = new List<Coordinate>(); this.HistoryStartIndex = -1; }
public Speed(Speed other) { this.XSpeed = other.XSpeed; this.YSpeed = other.YSpeed; this.ZSpeed = other.ZSpeed; }