Added new Game logic library to assist with game projects

This commit is contained in:
2025-12-09 22:34:26 +00:00
parent 7870cf623e
commit e0e191dc6b
25 changed files with 1169 additions and 5 deletions
@@ -11,12 +11,9 @@ namespace GameDevLibrary.Helpers
private static Stopwatch GetStopwatch(string key)
{
Stopwatch stopwatch = new Stopwatch();
Stopwatch stopwatch;
if (_stopwatches.TryGetValue(key, out stopwatch))
{
}
else
if (!_stopwatches.TryGetValue(key, out stopwatch))
{
stopwatch = new Stopwatch();
_stopwatches.Add(key, stopwatch);