function StateComponentMapping(creatingState, type) {
      this.creatingState = creatingState;
      this.componentType = type;
      this.withType(type);
    }
/*
     * Used internally, the constructor creates a component mapping. The constructor
     * creates a ComponentTypeProvider as the default mapping, which will be replaced
     * by more specific mappings if other methods are called.
     *
     * @param creatingState The EntityState that the mapping will belong to
     * @param type The component type for the mapping
     */
Used internally, the constructor creates a component mapping. The constructor
creates a ComponentTypeProvider as the default mapping, which will be replaced
by more specific mappings if other methods are called.

@param creatingState The EntityState that the mapping will belong to
@param type The component type for the mapping
Used internally the constructor creates a component mapping . The constructor creates a ComponentTypeProvider as the default mapping which will be replaced by more specific mappings if other methods are called . @param creatingState The EntityState that the mapping will belong to @param type The component type for the mapping
function StateComponentMapping(creatingState, type) {
      this.creatingState = creatingState;
      this.componentType = type;
      this.withType(type);
    }
function StateComponentMapping ( creatingState , type ) { this . creatingState = creatingState ; this . componentType = type ; this . withType ( type ) ; }
Used internally, the constructor creates a component mapping.
Used internally the constructor creates a component mapping .