Skip to content

Commit

Permalink
Update XML documentation for GameWindow(DX)
Browse files Browse the repository at this point in the history
  • Loading branch information
theLaffa committed Jun 7, 2024
1 parent f230614 commit a6459c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MonoGame.Framework/GameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@ internal void OnFileDrop(FileDropEventArgs e)
protected abstract void SetTitle (string title);

#if DIRECTX && WINDOWS
/// <summary>
/// Create a <see cref="GameWindow"/> based on the given <see cref="Game"/> and a fixed starting size.
/// </summary>
/// <param name="game">The <see cref="Game"/> to create the <see cref="GameWindow"/> for.</param>
/// <param name="width">Initial pixel width to set for the <see cref="GameWindow"/>.</param>
/// <param name="height">Initial pixel height to set for the <see cref="GameWindow"/>.</param>
public static GameWindow Create(Game game, int width, int height)
{
var window = new MonoGame.Framework.WinFormsGameWindow((MonoGame.Framework.WinFormsGamePlatform)game.Platform);
Expand Down

0 comments on commit a6459c0

Please sign in to comment.