text: var carConstants = require("./car-constants.json");
  
  module.exports = {
    worldDef: worldDef,
    carConstants: getCarConstants,
    generateSchema: generateSchema
  }
  
  function worldDef(){
    var box2dfps = 60;
    return {
      gravity: { y: 0 },
      doSleep: true,
      floorseed: "abc",
      maxFloorTiles: 200,
      mutable_floor: false,
      motorSpeed: 20,
      box2dfps: box2dfps,
      max_car_health: box2dfps * 10,
      tileDimensions: {
        width: 1.5,
        height: 0.15
      }
    };
  }
  
  function getCarConstants(){
    return carConstants;
  }
  
  function generateSchema(values){
    return {
      //DW added gene
      wheel_count: {
        type: "float",
        length: 1,
        min: values.wheelMinCount,
        range: values.wheelCountRange,
        factor: 1,
      },
      wheel_radius: {
        type: "float",
        length: values.wheelMinCount + values.wheelCountRange, //DW wheel stuff
        min: values.wheelMinRadius,
        range: values.wheelRadiusRange,
        factor: 1,
      },
      wheel_density: {
        type: "float",
        length: values.wheelMinCount + values.wheelCountRange, //DW wheel stuff
        min: values.wheelMinDensity,
        range: values.wheelDensityRange,
        factor: 1,
      },
      chassis_density: {
        type: "float",
        length: 1,
        min: values.chassisDensityRange,
        range: values.chassisMinDensity,
        factor: 1,
      },
      vertex_list: {
        type: "float",
        length: 12,
        min: values.chassisMinAxis,
        range: values.chassisAxisRange,
        factor: 1,
      },
      wheel_vertex: {
        type: "shuffle",
        length: 8,
        length: values.wheelMinCount + values.wheelCountRange, //DW wheel stuff
        factor: 1,
      },
    };
  }
  