Beispiel #1
0
 public GameWindow(IntPtr windowHandle, int width, int height)
 {
     this.csWindow     = WindowHelp.CreateCSWindow(windowHandle, width, height);
     this.sceneEntity  = new SceneObject(this.csWindow.GetScene());
     this.canvasEntity = new CanvasObject(this.csWindow.GetCanvas());
 }
Beispiel #2
0
 public GameWindow(Gdk.Window gdkWindow)
 {
     this.csWindow     = WindowHelp.CreateCSWindow(gdkWindow);
     this.sceneEntity  = new SceneObject(this.csWindow.GetScene());
     this.canvasEntity = new CanvasObject(this.csWindow.GetCanvas());
 }