/// <summary>
        /// コンストラクタ
        /// </summary>
        public SkillCountService()
        {
            SkillStorage.Create();
            PowStorage.Create();
            MapStorage.Create();

            _skillArrayRecognizer.Updated     += (_, e) => SkillsUpdated?.Invoke(this, new SkillsUpdatedEventArgs(e));
            _powRecognizer.Updated            += (_, e) => PowUpdated?.Invoke(this, new PowUpdatedEventArgs(e));
            _hpRecognizer.Updated             += (_, e) => HpUpdated?.Invoke(this, new HpUpdatedEventArgs(e));
            _powDebuffArrayRecognizer.Updated += (_, e) => PowDebuffsUpdated?.Invoke(this, new PowDebuffsUpdatedEventArgs(e));
            _keepDamageRecognizer.Updated     += (_, e) => KeepDamageUpdated?.Invoke(this, new KeepDamageUpdatedEventArgs(e));
            _bookUseRecognizer.Updated        += (_, e) => BookUsesUpdated?.Invoke(this, new BookUsesUpdatedEventArgs(e));
            _warStateRecognizer.WarStarted    += (_, e) =>
            {
                Logger.WriteLine("War started.");
                WarStarted?.Invoke(this, new WarStartedEventArgs(e));
            };
            _warStateRecognizer.WarCanceled += (_, e) =>
            {
                Logger.WriteLine("War canceled.");
                WarCanceled?.Invoke(this, new WarCanceledEventArgs(e));
            };
            _warStateRecognizer.WarFinished += (_, e) =>
            {
                Logger.WriteLine("War finished.");
                WarFinished?.Invoke(this, new WarFinishedEventArgs(e));
            };
        }
 public void Initialize()
 {
     MapStorage.Create();
     recognizer = new MapRecognizer();
 }