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()); }
public GameWindow(Gdk.Window gdkWindow) { this.csWindow = WindowHelp.CreateCSWindow(gdkWindow); this.sceneEntity = new SceneObject(this.csWindow.GetScene()); this.canvasEntity = new CanvasObject(this.csWindow.GetCanvas()); }