public BulletFactory(BulletContext bulletContext, IEntityIdGenerator entityIdGenerator, ISoundEntityFactory soundEntityFactory, IBulletEntityFactory bulletEntityFactory, BulletConfig bulletConfig) : base(bulletConfig) { _bulletContext = bulletContext; _entityIdGenerator = entityIdGenerator; _soundEntityFacotry = soundEntityFactory; _bulletEntityFactory = bulletEntityFactory; }
public WeaponLogicComponentsFactory( Contexts contexts, IEntityIdGenerator entityIdGenerator, ICurrentTime currentTime, IAttachmentManager attachmentManager, ISoundEntityFactory soundEntityFactory, IBulletEntityFactory bulletEntityFactory) : base(attachmentManager) { _bulletContext = contexts.bullet; _throwingContext = contexts.throwing; _clientEffectContext = contexts.clientEffect; _soundContext = contexts.sound; _entityIdGenerator = entityIdGenerator; _currentTime = currentTime; _attachmentManager = attachmentManager; _soundEntityFactory = soundEntityFactory; _bulletEntityFactory = bulletEntityFactory; }