Esempio n. 1
0
 private void CheckCras(Point point, Crah cras, Map map)
 {
     if (cras.cras.Contains(point))
     {
         size++;
         cras.cras.Remove(point);
         cras.AddCras(historyPoint, map);
     }
 }
Esempio n. 2
0
 private static void init()
 {
     map.x_max       = 12;
     map.y_max       = 12;
     map.space       = 30;
     map.padding     = 50;
     people.Location = new Point(1, 0);
     people.size     = 8;
     people.historyPoint.Clear();
     crah.cras_max = 2;
     crah.cras.Clear();
     crah.AddCras(people.historyPoint, map);
     way = Way.MoveWay.Down;
     timer.Start();
 }