public void NetworkExecute(Command cmd) { commandList.Add(cmd); System.Console.WriteLine("Network execution of " + cmd); cmd.Execute(game); }
public void Execute(Command cmd) { commandList.Add(cmd); cmd.Execute(game); /* Send to the network */ if (game.gameLink != null) game.gameLink.sendCommand(cmd); /* Show results */ game.GUI.updateGUIStatusBoxes(); //System.Console.WriteLine("Executed - CL:" + commandList.Count); }