Revision control
Copy as Markdown
class Engine
{
ENUM EngineType {Null, Gas, Electric, Hybrid};
PROP(int cylinders = 4)
PROP(bool started)
PROP(int rpm)
PROP(EngineType type)
}
class Engine
{
ENUM EngineType {Null, Gas, Electric, Hybrid};
PROP(int cylinders = 4)
PROP(bool started)
PROP(int rpm)
PROP(EngineType type)
}