Ejemplo n.º 1
0
 public GameWindow(int width, int height)
 {
     EngineGlobals.Init();
     CameraManager.Init();
     this.RendererItem = RegistryManager.RootItem.AddDirectoryChild("Renderer");
     this.RendererItem.AddChild(new RegistryMethod("Exit", this.RendererItem, new RegistryMethod.InvokeMethod(Exit)));
     this.NWindow = new Tier2NativeWindow(width, height);
 }
Ejemplo n.º 2
0
 public GameWindow(int width, int height)
 {
     EngineGlobals.Init();
     CameraManager.Init();
     this.RendererItem = RegistryManager.RootItem.AddDirectoryChild("Renderer");
     this.RendererItem.AddChild(new RegistryMethod("Exit", this.RendererItem, new RegistryMethod.InvokeMethod(Exit)));
     this.NWindow = new Tier2NativeWindow(width, height);
 }