示例#1
0
        static void Main(string[] args)
        {
            //p.panel.SendrequestToController();
            Program p = new Program();

            int timer = 0;

            while (timer != 50)
            {
                for (int i = 0; i < p.Staffs.Count; i++)
                {
                    if (p.Staffs[i].SpawnTime == timer)
                    {
                        p.GennemLøb(p.Staffs[i]);
                    }
                }
                Console.WriteLine(timer);
                ITakeTime.TakeTime();
                timer++;
            }
        }
示例#2
0
 public string Kill(Staff staff)
 {
     ITakeTime.TakeTime();
     staff.Dead = true;
     return "dead boy or gril";
 }