Beispiel #1
0
        public PlayerBaseSimulator(int maxServerCapacity, IPlayerFactory playerFactory, TimeSimulatorTickInfo tickInfo)
        {
            var players = playerFactory.CreatePlayerBase();

            _offlinePlayers.AddRange(players);
            _tickInfo         = tickInfo;
            MaxServerCapacity = maxServerCapacity;
        }
Beispiel #2
0
 public FirstInFirstOutMatchMaker(IPlayerBaseSimulator playerBaseSim, TimeSimulatorTickInfo tickInfo)
 {
     _tickInfo  = tickInfo;
     PlayerBase = playerBaseSim;
 }