public static void OrderSpawn(AgentController cont, string agentCode, int count, Vector2d position)
        {
            Command com = new Command(InputCode.Spawn);

            com.ControllerID = cont.ControllerID;
            com.Position     = position;
            com.Target       = (ushort)AgentController.GetCodeIndex(agentCode);
            com.Count        = count;
            CommandManager.SendCommand(com);
        }