Continuing rewriting engine
This commit is contained in:
10
koptilnya/engine_remastered/factories/gearbox.txt
Normal file
10
koptilnya/engine_remastered/factories/gearbox.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
-- @include ../gearboxes/manual.txt
|
||||
require('../gearboxes/manual.txt')
|
||||
-- require('../gearboxes/auto.txt')
|
||||
-- require('../gearboxes/cvt.txt')
|
||||
|
||||
GearboxFactory = class('GearboxFactory')
|
||||
|
||||
function GearboxFactory.create(config, clutch)
|
||||
return ManualGearbox:new(config, clutch)
|
||||
end
|
||||
Reference in New Issue
Block a user