generated from myarichuk/Library.Template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: dotnet-format + some warning handling
- Loading branch information
Showing
28 changed files
with
2,528 additions
and
2,507 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
namespace RoguelikeToolkit.Entities | ||
{ | ||
/// <summary> | ||
/// An attribute that marks an entity component | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] | ||
public class ComponentAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value of component name, this will serve as an id in the entity template text file | ||
/// </summary> | ||
public string? Name { get; set; } | ||
/// <summary> | ||
/// An attribute that marks an entity component | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] | ||
public class ComponentAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value of component name, this will serve as an id in the entity template text file | ||
/// </summary> | ||
public string? Name { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether component's instance will be shared globally | ||
/// </summary> | ||
public bool IsGlobal { get; set; } | ||
} | ||
/// <summary> | ||
/// Gets or sets a value indicating whether component's instance will be shared globally | ||
/// </summary> | ||
public bool IsGlobal { get; set; } | ||
} | ||
} |
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
Oops, something went wrong.