public void RemoveGimmick(MapGimmickViewModel gimmickViewModel) { Gimmicks.Remove(gimmickViewModel); gimmickViewModel.PropertyChanged -= OnGimmickVmGimmickChanged; UpdateVisibleGimmick(); }
public void AddGimmick(MapGimmickViewModel gimmickViewModel) { Gimmicks.Add(gimmickViewModel); gimmickViewModel.PropertyChanged += OnGimmickVmGimmickChanged; UpdateVisibleGimmick(); }