Implementing starfall version of engine

This commit is contained in:
Ivan Grachyov
2021-11-09 21:09:03 +05:00
parent a5f7bedf8d
commit e2c1c4bc88
12 changed files with 200 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
Clutch = class("Clutch")
function Clutch:initialize(options)
options = options or {}
self.stiffness = options.Stiffness or 0
self.capacity = options.Capacity or 0
self.damping = options.Damping or 0
self._engine = options.Engine
self._gearbox = options.Gearbox
end
function Clutch:update()
end