public void RemoveElem(ElementSizeTile tile) { foreach (var unitSizeTile in Level) { for (int i = 0; i < unitSizeTile.Content.Length; i++) { if (unitSizeTile.Content[i] == tile) { unitSizeTile.Content[i] = null; } } } }
public DestroingState(DrawableObject o, Logic m, ElementSizeTile owner) { model = m; _owner = owner; Direct = Direction.Right; }