/// <summary>
        /// Initializes a new instance of the <see cref="CharacterService"/> class.
        /// </summary>
        /// <param name="commands">The application's command service.</param>
        /// <param name="entityService">The application's owned entity service.</param>
        /// <param name="content">The content service.</param>
        /// <param name="transformations">The transformation service.</param>
        public CharacterService(CommandService commands, OwnedEntityService entityService, ContentService content, TransformationService transformations)
        {
            this.Commands        = commands;
            this.OwnedEntities   = entityService;
            this.Content         = content;
            this.Transformations = transformations;

            this.PronounProviders = new Dictionary <string, IPronounProvider>(new CaseInsensitiveStringEqualityComparer());
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RoleplayService"/> class.
 /// </summary>
 /// <param name="commands">The application's command service.</param>
 /// <param name="entityService">The application's owned entity service.</param>
 public RoleplayService(CommandService commands, OwnedEntityService entityService)
 {
     this.Commands      = commands;
     this.OwnedEntities = entityService;
 }