public Entity createEnemySpawner(double threshold){
		Entity spawner = new Entity(NullRenderer.NULL_RENDERER, NullControl.NULL_CONTROL);
		switch(config.getEnemyDirections()){
			case RANDOM:
				addRandomDirectionComponents(spawner, threshold);
				break;
			case MAIN_AXES:
				addMainAxesComponents(spawner, threshold);
				break;
			case TARGET_PLAYER:
				addTargetPlayerComponents(spawner, threshold);
				break;}
		return spawner;}