Ejemplo n.º 1
0
 public void Init(GenericPlatform platform)
 {
     this._config       = platform.Config;
     this._videoManager = platform.VideoManager;
     this._videoManager.SetVideoRenderer(this);
     this.OnInit();
 }
Ejemplo n.º 2
0
 public void Init(GenericPlatform platform)
 {
     this._platform                         = platform;
     this.vctl.VideoManager                 = this._platform.VideoManager;
     this.vctl.AntiAlias                    = this._platform.Config.AntiAlias;
     this._platform.Spectrum.Breakpoint    -= this.spectrum_OnBreakpoint;
     this._platform.Spectrum.MaxTactExceed -= this.spectrum_OnMaxTactExceed;
     this._platform.Spectrum.Breakpoint    += this.spectrum_OnBreakpoint;
     this._platform.Spectrum.MaxTactExceed += this.spectrum_OnMaxTactExceed;
 }
Ejemplo n.º 3
0
 public XnaGame(GenericPlatform platform)
 {
     this._platform = platform;
     this._graphicsDeviceManager = new GraphicsDeviceManager(this);
 }