public void Receive(List<Command> cl)
{
Console.WriteLine("Received " + cl.Count + " Commands");
cl.Reverse(); //reverse the list because we want the most recent command to each unit to be the one recorded
foreach (Command c in cl)
{
commands.Add(c);
}
}