public Vehicle(Model model, Lane.Direction initDirection, Vector3 initPosition, Lane initLane, float initAcceleration, int startTime) { this.model = model; direction = initDirection; lane = initLane; position = initPosition; speed = 0; acceleration = initAcceleration; this.startTime = startTime; }
private void ChangeLane(Lane newLane) { lane = newLane; }