Skip to content

Commit daea7bd

Browse files
committed
Comment Cleanup in GameManager and SSLGame
1 parent 5735982 commit daea7bd

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

GameManager.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,25 @@ namespace SKSSL;
55
/// </summary>
66
public static class GameManager
77
{
8+
/// Topmost game instance reverse-accessible from lower ends of the call-chain.
89
public static SSLGame Game { get; private set; } = null!;
10+
11+
/// Title of game window.
912
public static string Title => Game.Title;
13+
14+
/// Aspect ratio to render the game.
1015
public static float AspectRatio => Game.GraphicsDevice.Viewport.AspectRatio;
1116

17+
/// Force game closure.
1218
public static void Exit()
1319
{
1420
// Safely exit without suicidal tendencies.
1521
SSLGame game = Game;
1622
game.Quit();
1723
game.Exit();
1824
}
25+
26+
/// Force game status reset.
1927
public static void ResetGame() => Game.ResetGame();
2028

2129
/// Run the game instance.

SSLGame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public abstract class SSLGame : Game
8989
/// Example: "Gum/SolKom.gumx"
9090
/// </code>
9191
/// </summary>
92-
public static string GumFile = "CHANGE_ME"; // Example:
92+
public static string GumFile = "CHANGE_ME";
9393

9494
/// <summary>
9595
/// Constructor for SSLGame.

0 commit comments

Comments
 (0)