public void Intesects(Background background) { Game.Components.Remove(background); }
/// <summary> /// Método de creación de cada tile /// </summary> private void BackgroudPixelComponentConstructor(uint tile, Vector2 position) { Background bg = new Background(base.Game, Game.Content.Load<Texture2D>(@"Barrier\" + tile), position); Game.Components.Add(bg); }