Exemplo n.º 1
0
 public PassiveSkills(IWriteToClient writer, IUpdateClientUI updateClientUi, IDice dice, IDamage damage, ICombat fight, ISkillManager skillManager, ICache cache, IGain gain, IEquip equip)
 {
     _writer         = writer;
     _updateClientUi = updateClientUi;
     _dice           = dice;
     _damage         = damage;
     _fight          = fight;
     _skillManager   = skillManager;
     _cache          = cache;
     _gain           = gain;
     _equip          = equip;
 }
Exemplo n.º 2
0
 public Combat(IWriteToClient writer, IUpdateClientUI clientUi, IDamage damage, IFormulas formulas, IGain gain, ICache cache, IQuestLog quest, IDice dice, IRandomItem randomItem, IPlayerDataBase pdb)
 {
     _writer     = writer;
     _clientUi   = clientUi;
     _damage     = damage;
     _formulas   = formulas;
     _gain       = gain;
     _cache      = cache;
     _quest      = quest;
     _dice       = dice;
     _randomItem = randomItem;
     _pdb        = pdb;
 }
Exemplo n.º 3
0
 public GameHub(IDataBase db, IPlayerDataBase pdb, ICache cache, ILogger <GameHub> logger, IWriteToClient writeToClient, ICommands commands, IUpdateClientUI updateClientUi, IMobScripts mobScripts, ITime time, IDice dice, IGain gain, IFormulas formulas)
 {
     _logger         = logger;
     _db             = db;
     _pdb            = pdb;
     _cache          = cache;
     _writeToClient  = writeToClient;
     _commands       = commands;
     _updateClientUi = updateClientUi;
     _mobScripts     = mobScripts;
     _time           = time;
     _dice           = dice;
     _gain           = gain;
     _formulas       = formulas;
 }
Exemplo n.º 4
0
        public GameLoop(IWriteToClient writeToClient, ICache cache, ICommands commands, ICombat combat, IDataBase database, IDice dice, IUpdateClientUI client, ITime time, ICore core, ISpellList spelllist, IWeather weather)
        {
            _writeToClient = writeToClient;
            _cache         = cache;
            _commands      = commands;
            _combat        = combat;
            _db            = database;
            _dice          = dice;
            _client        = client;
            _time          = time;
            _core          = core;
            _spellList     = spelllist;
            _weather       = weather;

            if (_hints == null)
            {
                _hints = _core.Hints();
            }
        }
Exemplo n.º 5
0
 public Object(IWriteToClient writer, IUpdateClientUI updateUi, IMobScripts mobScripts)
 {
     _writer     = writer;
     _updateUi   = updateUi;
     _mobScripts = mobScripts;
 }
Exemplo n.º 6
0
 public GameHub(IDataBase db, ICache cache, ILogger <GameHub> logger, IWriteToClient writeToClient, ICommands commands, IUpdateClientUI updateClientUi)
 {
     _logger         = logger;
     _db             = db;
     _cache          = cache;
     _writeToClient  = writeToClient;
     _commands       = commands;
     _updateClientUi = updateClientUi;
 }
Exemplo n.º 7
0
 public Gain(IWriteToClient writer, IUpdateClientUI clientUI)
 {
     _writer   = writer;
     _clientUi = clientUI;
 }
Exemplo n.º 8
0
 public Movement(IWriteToClient writeToClient, ICache cache, IRoomActions roomActions, IUpdateClientUI updateUI, IDice dice)
 {
     _writeToClient = writeToClient;
     _cache         = cache;
     _roomActions   = roomActions;
     _updateUi      = updateUI;
     _dice          = dice;
 }
Exemplo n.º 9
0
 public GameLoop(IWriteToClient writeToClient, ICache cache, ICommands commands, ICombat combat, IDataBase database, IDice dice, IUpdateClientUI client)
 {
     _writeToClient = writeToClient;
     _cache         = cache;
     _commands      = commands;
     _combat        = combat;
     _db            = database;
     _dice          = dice;
     _client        = client;
 }
Exemplo n.º 10
0
 public Shop(IWriteToClient writer, IUpdateClientUI clientUi, IPassiveSkills passiveSkills)
 {
     _writer        = writer;
     _clientUi      = clientUi;
     _passiveSkills = passiveSkills;
 }
Exemplo n.º 11
0
 public QuestLog(IWriteToClient writeToClient, IUpdateClientUI updateClientUi)
 {
     _writeToClient  = writeToClient;
     _updateClientUi = updateClientUi;
 }
Exemplo n.º 12
0
 public Communication(IWriteToClient writer, ICache cache, IUpdateClientUI updateClient)
 {
     _writer       = writer;
     _cache        = cache;
     _updateClient = updateClient;
 }
Exemplo n.º 13
0
 public Gain(IWriteToClient writer, IUpdateClientUI clientUI, IDice dice)
 {
     _writer   = writer;
     _clientUi = clientUI;
     _dice     = dice;
 }
Exemplo n.º 14
0
 public Spells(IWriteToClient writer, ISpellTargetCharacter spellTargetCharacter, ICache cache, IDamage damage, IUpdateClientUI updateClientUi)
 {
     _writer = writer;
     _spellTargetCharacter = spellTargetCharacter;
     _cache          = cache;
     _damage         = damage;
     _updateClientUi = updateClientUi;
 }
Exemplo n.º 15
0
 public DoSkill(IWriteToClient writer, ISpellTargetCharacter spellTargetCharacter, ICache cache, IDamage damage, IUpdateClientUI updateClientUi, IMobScripts mobScripts, IDice dice, ISkillList skillList)
 {
     _writer = writer;
     _spellTargetCharacter = spellTargetCharacter;
     _cache          = cache;
     _damage         = damage;
     _updateClientUi = updateClientUi;
     _mobScripts     = mobScripts;
     _dice           = dice;
     _skillList      = skillList;
 }
Exemplo n.º 16
0
 public Movement(IWriteToClient writeToClient, ICache cache, IRoomActions roomActions, IUpdateClientUI updateUI, IDice dice, ICombat combat, IMobScripts mobScripts)
 {
     _writeToClient = writeToClient;
     _cache         = cache;
     _roomActions   = roomActions;
     _updateUi      = updateUI;
     _dice          = dice;
     _combat        = combat;
     _mobScripts    = mobScripts;
 }
Exemplo n.º 17
0
 public Shop(IWriteToClient writer, IUpdateClientUI clientUi)
 {
     _writer   = writer;
     _clientUi = clientUi;
 }
Exemplo n.º 18
0
 public GameHub(IDataBase db, ICache cache, ILogger <GameHub> logger, IWriteToClient writeToClient, ICommands commands, IUpdateClientUI updateClientUi, IMobScripts mobScripts, ITime time)
 {
     _logger         = logger;
     _db             = db;
     _cache          = cache;
     _writeToClient  = writeToClient;
     _commands       = commands;
     _updateClientUi = updateClientUi;
     _mobScripts     = mobScripts;
     _time           = time;
 }
Exemplo n.º 19
0
 public Object(IWriteToClient writer, IUpdateClientUI updateUi)
 {
     _writer   = writer;
     _updateUi = updateUi;
 }
Exemplo n.º 20
0
 public CastSpell(IWriteToClient writer, ISpellTargetCharacter spellTargetCharacter, ICache cache, IDamage damage, IUpdateClientUI updateClientUi, IDice dice, ISpellList spellList)
 {
     _writer = writer;
     _spellTargetCharacter = spellTargetCharacter;
     _cache          = cache;
     _damage         = damage;
     _updateClientUi = updateClientUi;
     _dice           = dice;
     _spellList      = spellList;
 }