public void SetLevelByIndex(int index) { LevelBackground target = levels[index]; TileMatrix.Use(target); LevelIndex = index; LoadLevel(target); }