Beispiel #1
0
 public static void UpdateInfo()
 {
     lock (new object())
     {
         FractionStats.UpdateStats();
     }
 }
Beispiel #2
0
 public MainLogic(IServiceProvider services)
 {
     SeasonId      = 1;
     FractionStats = new FractionStats(services.GetService <HexaceContext>());
     Chat          = new Chat(services.GetService <HexaceContext>());
     Timer         = new Timer(services.GetService <HexaceContext>());
     GameModel     = new GameModel(services.GetService <HexaceContext>());
 }