Updated documentation
This commit is contained in:
parent
2439a34f2b
commit
6db9c19fb8
1 changed files with 5 additions and 1 deletions
|
|
@ -14,8 +14,12 @@ public class Window : IDisposable
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes the object if it is not ready.
|
/// Gets an instance of the Window or creates a new one if it doesn't exist.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="width">The width of the window.</param>
|
||||||
|
/// <param name="height">The height of the window.</param>
|
||||||
|
/// <param name="title">The title of the window.</param>
|
||||||
|
/// <returns>An instance of the Window.</returns>
|
||||||
public static Window Instance(int width, int height, string title)
|
public static Window Instance(int width, int height, string title)
|
||||||
{
|
{
|
||||||
return _instance ?? new Window(width, height, title);
|
return _instance ?? new Window(width, height, title);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue