Exemple #1
0
        /// <summary>
        /// Trains a new intelligence operative.
        /// </summary>
        /// <returns>The new intelligence operative.</returns>
        public async Task <IntelligenceOperative> TrainOperativeAsync()
        {
            await Task.Delay(World.Current.Random.Next(World.Current.ShortestTask, World.Current.LongestTask));

            var operative = new IntelligenceOperative(this);

            operatives.Add(operative);

            return(operative);
        }
Exemple #2
0
 internal SecretAgent(IntelligenceOperative handler)
 {
     documents = new ConcurrentBag <TopSecretDocument>();
     Handler   = handler;
     Number    = NextAgentNumber();
 }