Example #1
0
 public PlayerHandler(ILogger <PlayerHandler> logger, ISpecialEffectSystem specialEffectSystem, IInteractionSystem interationSystem, IFollowSystem followSystem, IMoverPacketFactory moverPacketFactory, IDeathSystem deathSystem)
 {
     _logger = logger;
     _specialEffectSystem = specialEffectSystem;
     _interationSystem    = interationSystem;
     _followSystem        = followSystem;
     _moverPacketFactory  = moverPacketFactory;
     _deathSystem         = deathSystem;
 }
 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;
 }
Example #3
0
 /// <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;
 }