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