1 2 3 4 5 6 7 8
class Engine { ENUM EngineType {Null, Gas, Electric, Hybrid}; PROP(int cylinders = 4) PROP(bool started) PROP(int rpm) PROP(EngineType type) }