Implemented engine
This commit is contained in:
@@ -4,7 +4,14 @@ require("./base.txt")
|
||||
ManualGearbox = class("ManualGearbox")
|
||||
|
||||
function ManualGearbox:initialize(options)
|
||||
-- create base gearbox inside
|
||||
options = options or {}
|
||||
|
||||
-- might want to segregate construction options for base gearbox
|
||||
self.base = Gearbox:new(options)
|
||||
end
|
||||
|
||||
-- proxy the methods here
|
||||
function ManualGearbox:linkClutch(clutch)
|
||||
return self.base:linkClutch(clutch)
|
||||
end
|
||||
|
||||
-- proxy the methods here
|
||||
|
||||
Reference in New Issue
Block a user