-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
113 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.Runtime.CompilerServices; | ||
|
||
[assembly: InternalsVisibleTo("CHARK.GameManagement.Tests.Editor")] | ||
[assembly: InternalsVisibleTo("CHARK.GameManagement.Tests.Runtime")] | ||
[assembly: InternalsVisibleTo("CHARK.GameManagement.Editor")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using CHARK.GameManagement.Messaging; | ||
|
||
namespace CHARK.GameManagement | ||
{ | ||
/// <summary> | ||
/// Raised when <see cref="GameManager.IsDebuggingEnabled"/> changes. | ||
/// </summary> | ||
public readonly struct DebuggingChangedMessage : IMessage | ||
{ | ||
/// <summary> | ||
/// Debugging mode state the game manager transitioned from. | ||
/// </summary> | ||
public bool IsDebuggingEnabledPrev { get; } | ||
|
||
/// <summary> | ||
/// Debugging mode state the game manager is currently in. | ||
/// </summary> | ||
public bool IsDebuggingEnabled { get; } | ||
|
||
public DebuggingChangedMessage(bool isDebuggingEnabledPrev, bool isDebuggingEnabledNew) | ||
{ | ||
IsDebuggingEnabledPrev = isDebuggingEnabledPrev; | ||
IsDebuggingEnabled = isDebuggingEnabledNew; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters