public Level generateLevel(String level){
		Logger.println("Loading level from path: "+level);
		blocksForeground = LevelManager.loadLevelForeground(this, index, level);
		blocksBackground = LevelManager.loadLevelBackground(this, index, level);
		path = level;
		generated = true;
		return this;
	}