Exemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="BattleSystem"/> instance.
 /// </summary>
 /// <param name="logger">Logger.</param>
 /// <param name="projectileSystem">Projectile system.</param>
 /// <param name="inventorySystem">Inventory system.</param>
 /// <param name="battlePacketFactory">Battle packet factory.</param>
 /// <param name="moverPacketFactory">Mover packet factory.</param>
 public BattleSystem(ILogger <BattleSystem> logger, IProjectileSystem projectileSystem, IInventorySystem inventorySystem, IBattlePacketFactory battlePacketFactory, IMoverPacketFactory moverPacketFactory)
 {
     _logger              = logger;
     _projectileSystem    = projectileSystem;
     _inventorySystem     = inventorySystem;
     _battlePacketFactory = battlePacketFactory;
     _moverPacketFactory  = moverPacketFactory;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new <see cref="ProjectileHandler"/> instance.
 /// </summary>
 /// <param name="logger">Logger.</param>
 /// <param name="projectileSystem">Projectile system.</param>
 public ProjectileHandler(ILogger <ProjectileHandler> logger, IProjectileSystem projectileSystem)
 {
     _logger           = logger;
     _projectileSystem = projectileSystem;
 }