@@ -5,24 +5,8 @@ const util = require('util');
55
66
77class BuildSettings {
8- constructor ( settings , baseSettings ) {
9- Object . assign ( this , baseSettings ) ;
10- util . inherits ( this . constructor , baseSettings . constructor ) ;
11-
12- this . agentTypeID = this . __getSetting ( "agentTypeID" , settings ) ;
13- this . agentRadius = this . __getSetting ( "agentRadius" , settings ) ;
14- this . agentHeight = this . __getSetting ( "agentHeight" , settings ) ;
15- this . agentSlope = this . __getSetting ( "agentSlope" , settings ) ;
16- this . agentClimb = this . __getSetting ( "agentClimb" , settings ) ;
17- this . ledgeDropHeight = this . __getSetting ( "ledgeDropHeight" , settings ) ;
18- this . maxJumpAcrossDistance = this . __getSetting ( "maxJumpAcrossDistance" , settings ) ;
19- this . minRegionArea = this . __getSetting ( "minRegionArea" , settings ) ;
20- this . manualCellSize = this . __getSetting ( "manualCellSize" , settings ) ;
21- this . cellSize = this . __getSetting ( "cellSize" , settings ) ;
22- this . manualTileSize = this . __getSetting ( "manualTileSize" , settings ) ;
23- this . tileSize = this . __getSetting ( "tileSize" , settings ) ;
24- this . accuratePlacement = this . __getSetting ( "accuratePlacement" , settings ) ;
25- this . debugFlags = this . __getSetting ( "m_Flags" , settings ) ;
8+ constructor ( settings ) {
9+ this . parent . __formSettings ( this , settings ) ;
2610 }
2711}
2812
0 commit comments