public void Init(GenericPlatform platform) { this._config = platform.Config; this._videoManager = platform.VideoManager; this._videoManager.SetVideoRenderer(this); this.OnInit(); }
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; }
public XnaGame(GenericPlatform platform) { this._platform = platform; this._graphicsDeviceManager = new GraphicsDeviceManager(this); }