Ejemplo n.º 1
0
        public void NetworkExecute(Command cmd)
        {
            commandList.Add(cmd);

            System.Console.WriteLine("Network execution of " + cmd);
            cmd.Execute(game);
        }
Ejemplo n.º 2
0
        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);
        }