void ProcessQueue() { if (!ActivityList[0].Finished()) { ActivityList[0].PerformAction(); } else { ActivityList.RemoveAt(0); } }