Exemplo n.º 1
0
 public DesktopEditorPlatform()
 {
     DotnetProject = new DotnetProject();
     _windowSize   = new HostingGameDesktopWindowSize();
     SetHostedGameWindow(new Rectangle(800, 200, 1180, 800));
 }
Exemplo n.º 2
0
 public HostingGameDesktopWindow(HostingGameDesktopWindowSize windowSize, OpenTK.INativeWindow nativeWindow)
 {
     _windowSize   = windowSize;
     _nativeWindow = nativeWindow;
     windowSize.PropertyChanged += onWindowSizePropertyChanged;
 }