public SkillSystem(ILogger <SkillSystem> logger, IRhisisDatabase database, IGameResources gameResources, IBattleSystem battleSystem, IInventorySystem inventorySystem, IProjectileSystem projectileSystem, ISkillPacketFactory skillPacketFactory, ITextPacketFactory textPacketFactory, ISpecialEffectPacketFactory specialEffectPacketFactory, IMoverPacketFactory moverPacketFactory) { _logger = logger; _database = database; _gameResources = gameResources; _battleSystem = battleSystem; _inventorySystem = inventorySystem; _projectileSystem = projectileSystem; _skillPacketFactory = skillPacketFactory; _textPacketFactory = textPacketFactory; _specialEffectPacketFactory = specialEffectPacketFactory; _moverPacketFactory = moverPacketFactory; }
public DefaultMonsterBehavior(IMonsterEntity monster, IOptions <WorldConfiguration> worldConfiguration, IGameResources gameResources, IMobilitySystem mobilitySystem, IBattleSystem battleSystem, IFollowSystem followSystem, IDropSystem dropSystem, IMoverPacketFactory moverPacketFactory) { _monster = monster; _worldConfiguration = worldConfiguration.Value; _gameResources = gameResources; _mobilitySystem = mobilitySystem; _battleSystem = battleSystem; _followSystem = followSystem; _dropSystem = dropSystem; _moverPacketFactory = moverPacketFactory; }
/// <summary> /// Creates a new <see cref="AroundKillChatCommand"/> instance. /// </summary> /// <param name="battleSystem">Battle system.</param> /// <param name="followSystem">follow system.</param> public AroundKillChatCommand(IBattleSystem battleSystem, IFollowSystem followSystem) { _battleSystem = battleSystem; _followSystem = followSystem; }
/// <summary> /// Creates a new <see cref="BattleHandler"/> instance. /// </summary> /// <param name="logger">Logger.</param> /// <param name="battleSystem">Battle system.</param> public BattleHandler(ILogger <BattleHandler> logger, IBattleSystem battleSystem) { _logger = logger; _battleSystem = battleSystem; }