public ServerSnapshotHistoryUpdaterSystem(Contexts contexts, IServerSnapshotHistory serverSnapshotHistory,
                                           ITickStartTimeStorage tickStartTimeStorage)
 {
     this.serverSnapshotHistory = serverSnapshotHistory;
     this.tickStartTimeStorage  = tickStartTimeStorage;
     snapshotFactory            = new SnapshotFactory(contexts.serverGame);
 }
Example #2
0
 public LagCompensationSystemGroup(Contexts contexts, ITimeMachine timeMachine,
                                   LagCompensationSystem[] lagCompensationSystems, IServerSnapshotHistory serverSnapshotHistory)
 {
     this.contexts               = contexts;
     this.timeMachine            = timeMachine;
     this.lagCompensationSystems = lagCompensationSystems;
     this.serverSnapshotHistory  = serverSnapshotHistory;
 }
Example #3
0
 public TimeMachine(IServerSnapshotHistory history, ArrangeTransformSystem[] arrangeTransformSystems)
 {
     this.history = history;
     this.arrangeTransformSystems = arrangeTransformSystems;
 }