SimulaVR / Simula

Linux VR Desktop
MIT License
2.91k stars 87 forks source link

Turn SimulaController into a functional-style module #59

Closed lboklin closed 4 years ago

lboklin commented 5 years ago

Because you can't extend a NativeScript (inherit from the class), someone wanting to make use of Simula would be unable to extend the controllers - something they might need in their project.

While not a priority (plugin portability comes second to functionality required for Simula) there's really no reason to choose the OO style of registering our own classes when we can easily write functions to operate on existing classes.

lboklin commented 5 years ago

See #75 for the general issue of code design.