public void Initialize(PlayerEntity playerEntity) { stateCollector = new PlayerStateCollector(playerEntity); stateInterrupter = new PlayerStateRuntimeInterrupter(playerEntity); // playerStateCollectorPool.AddStateCollector(player.entityKey.Value, stateCollector); inputManager = new PlayerStateFiltedInputMgr(stateCollector); }