     # initialize object with position, size and config
     obj = new Ent(x, y, width, height, @, conf)
 
+    if newConf
+      newConf.apply obj
+
     obj.load()
 
     return obj

      conf = {}
      conf[prop] = content for prop, content of object.properties
    else
      # otherwise use a configuration file
      conf = @entities[object.name]

    if not conf
      console.error "No configuration file found for #{object.name}"
      return null

    conf.name = object.name


      for object in layer.objects
        continue if object.type is ''

        if Object.keys(object.properties).length is 0 and not mediator.ConfigurationManager[object.name]
          list.push object.name + '.json'

    @bodyCount = list.length
