Пример #1
0
        protected override async Task ClickProcessAsync(SKPoint thisPoint)
        {
            if (GlobalClass.GetTrainClicked == null)
            {
                throw new BasicBlankException("GetTrainClicked Not Populated.  Rethink");
            }
            if (GlobalClass.TrainClickedAsync == null)
            {
                throw new BasicBlankException("TrainClickedAsync Not Populated.  Rethink");
            }
            int index = GlobalClass.GetTrainClicked(thisPoint);

            if (index == 0)
            {
                return;
            }
            await GlobalClass.TrainClickedAsync(index);
        }