public static void Run(string[] args, ISystem system)
        {
            if (args.FirstOrDefault() == "test")
            {
                tryToStart(system);


                return;
            }

            var agent = new StorytellerAgent(int.Parse(args[0]), system);

            agent._completion.WaitOne();
        }
Esempio n. 2
0
        public static void Run(string[] args, ISystem system)
        {
            var agent = new StorytellerAgent(int.Parse(args[0]), system);

            agent._completion.WaitOne();
        }