Class ElectricEngine

A concrete implementation of Engine that uses electricity for propelling.

class ElectricEngine
  : Engine ;

Methods

NameDescription
run
turnOff
turnOn