public override void HandleSelection(object sender, BoolEventArgs e)
        {
            if (e.Value)
                UpdatePossibleActions();

            base.HandleSelection(sender, e);
        }
        public override void HandleSelection(object sender, BoolEventArgs e)
        {
            base.HandleSelection(sender, e);

            foreach (DesignerItem item in (DataContext as PlatformModel).Children)
                item.Visibility = e.Value ? Visibility.Visible : Visibility.Hidden;
        }
 public virtual void HandleSelection(object sender, BoolEventArgs e)
 {
     Visibility = e.Value ? Visibility.Visible : Visibility = Visibility.Hidden;
     Canvas.SetZIndex(this, e.Value ? 1 : -1);
     Moved();
 }
 public override void HandleSelection(object sender, BoolEventArgs e)
 {
     base.HandleSelection(sender, e);
     foreach(UIElement ele in (DataContext as CheckpointModel).Children)
         ele.Visibility = e.Value ? Visibility.Visible : Visibility.Hidden;
 }
 public override void HandleSelection(object sender, BoolEventArgs e)
 {
     base.HandleSelection(sender, e);
     (DataContext as EnemyModel).RangeFinder.Visibility = e.Value ? Visibility.Visible : Visibility.Hidden;
 }