Esempio n. 1
0
 public FrameSyncEngine()
 {
     _staticFrameSyncBehaviourManager  = new StaticFrameSyncBehaviourManager();
     _dynamicFrameSyncBehaviourManager = new DynamicFrameSyncBehaviourManager();
     _systems    = new SWFrameSyncSystem[2];
     _systems[0] = _staticFrameSyncBehaviourManager;
     _systems[1] = _dynamicFrameSyncBehaviourManager;
     _lastInputFrameForPrediction = new InputFrame();
     _inputFrameForPrediction     = new InputFrame();
 }
Esempio n. 2
0
 public void RegisterToFrameSyncBehaviourManager()
 {
     StaticFrameSyncBehaviourManager.Register(this);
 }