|
|
|
@ -142,8 +142,7 @@ namespace TheGameExtreme.view
|
|
|
|
|
int indexPile = stackCollection.IndexOf(stack);
|
|
|
|
|
if (played(indexPile, decimal.Parse(bitmap.Value)))
|
|
|
|
|
{
|
|
|
|
|
point = stack.InitialPoint;
|
|
|
|
|
bitmap.ProcessTouchEvent(args.Id, TouchActionType.Moved, point);
|
|
|
|
|
bitmap.ProcessTouchEvent(args.Id, TouchActionType.Moved, stack.InitialPoint);
|
|
|
|
|
bitmap.InitialPoint = stackCollection[stackCollection.IndexOf(stack)].InitialPoint;
|
|
|
|
|
stackCollection[stackCollection.IndexOf(stack)] = bitmap;
|
|
|
|
|
textCollection.RemoveAt(textCollection.Count - 1);
|
|
|
|
@ -154,8 +153,7 @@ namespace TheGameExtreme.view
|
|
|
|
|
}
|
|
|
|
|
if (!find)
|
|
|
|
|
{
|
|
|
|
|
point = bitmap.InitialPoint;
|
|
|
|
|
bitmap.ProcessTouchEvent(args.Id, TouchActionType.Moved, point);
|
|
|
|
|
bitmap.ProcessTouchEvent(args.Id, TouchActionType.Moved, bitmap.InitialPoint);
|
|
|
|
|
}
|
|
|
|
|
bitmap.ProcessTouchEvent(args.Id, args.Type, point);
|
|
|
|
|
textDictionary.Remove(args.Id);
|
|
|
|
|