Ejemplo n.º 1
0
 public VideoGame(Config config, SceneManager sceneManager) : base(config, sceneManager)
 {
     this.Config       = config;
     this.SceneManager = sceneManager;
     Input             = new InputSFML(config);
     Render            = new RenderSFML(config);
 }
Ejemplo n.º 2
0
 /// <summary>Initializes a new instance of the <see cref="VideoGame" /> class.</summary>
 /// <param name="config">The configuration.</param>
 /// <param name="scenes">The scene.</param>
 public VideoGame(Config config, params Scene[] scenes) : base(config, scenes)
 {
     Input  = new InputSFML(Config);
     Render = new RenderSFML(Config);
 }