Beispiel #1
0
        private void deleteRequested(CarouselItem item)
        {
            var name = item.LevelName;

            LevelStorage.DeleteLevel(name);
            notifications.Push($"{name} level has been deleted!", NotificationState.Good);
            selectFirst();
            item.Expire();
        }
Beispiel #2
0
        private void onSelection(CarouselItem item)
        {
            Current.Value = item;

            flow.Children.ForEach(i =>
            {
                if (i != item)
                {
                    i.Deselect();
                }
            });
        }
Beispiel #3
0
 private void editRequested(CarouselItem item)
 {
     OnEdit?.Invoke(item);
 }