Esempio n. 1
0
 private void SetUpContexts()
 {
     AddContext(actor3DContext = new Actor3DContext(game, this));
     AddContext(actor2DContext = new Actor2DContext(game, this));
     AddContext(actorUIContext = new ActorUIContext(game, this));
     AddContext(facetContext = new FacetContext(game, this));
     AddContext(new CameraContext(game, this));
     game.SimulationSelectionChanged += game_SimulationSelectionChanged;
 }
Esempio n. 2
0
 private void SetUpContexts()
 {
     AddContext(actor3DContext = new Actor3DContext(game, this));
     AddContext(actor2DContext = new Actor2DContext(game, this));
     AddContext(actorUIContext = new ActorUIContext(game, this));
     AddContext(facetContext = new FacetContext(game, this));
     AddContext(new CameraContext(game, this));
 }