Class Car

A class representing a car.

class Car ;

Constructors

NameDescription
this Constructor of car.

Fields

NameTypeDescription
backLeft_ Tire
backRight_ Tire
color_ Color
engine_ Engine
frontLeft_ Tire
frontRight_ Tire
size_ Size

Properties

NameTypeDescription
backLeft[set] Car
backLeft[get] Tire
backRight[set] Car
backRight[get] Tire
color[set] CarSet color of car
color[get] Color
engine[set] CarSet engine used in car.
engine[get] Engine
frontLeft[set] Car
frontLeft[get] Tire
frontRight[set] Car
frontRight[get] Tire
size[get] Size

Methods

NameDescription
run
start
stop