Exemplo n.º 1
0
        public PlayerLoginCommand(INotificationCenter notificationManager)
        {
            this.passwordProcessor = new CharacterPasswordProcessor();
            this.nameProcessor = new CharacterNameProcessor(notificationManager, this.passwordProcessor);
            this.nameRequestor = new CharacterNameRequestor(notificationManager, this.nameProcessor);

            this.currentProcessor = this.nameRequestor;
            this.notificationManager = notificationManager;
        }