Example #1
0
        public Vector2 GetRandomCollect()
        {
            ObjectStatic selected = Items.dotsAndPills[new Random().Next(0, Items.dotsAndPills.Count)];

            if (selected != null)
            {
                return(selected.position);
            }

            return(new Vector2(-1, -1));
        }
Example #2
0
 public static void PopPillorDot(ObjectStatic target)
 {
     dotsAndPills.Remove(target);
     objMovList.Remove(target);
     checkEndGame();
 }