public static void GlobalUpdate() { while (true) { Thread.Sleep(100); playerbots.ForEach(delegate(PlayerBot b) { b.Update(); }); } }