/* A vehicle (from Latin: vehiculum) is a machine that transports people or cargo. Vehicles include wagons, bicycles, railed vehicles (trains, trams), motor vehicles (motorcycles, cars, trucks, buses), watercraft (ships, boats), amphibious vehicles (screw-propelled vehicle, hovercraft), aircraft (airplanes, helicopters) and spacecraft. */ class Vehicle { constructor(originX, originY, originZ) { this.x = originX; this.y = originY; this.z = originZ; this.speed = 0; this.engineOn = false; } move(x, y, z) { this.x = x; this.y = y; this.z = z; } startEngine() {} stopEngine() {} addFuel() {} accelare() {} }