20 lines
435 B
C#
20 lines
435 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace SideScrollerGame.Sim.Definitions;
|
|
|
|
[ExcludeFromCodeCoverage]
|
|
public sealed record TriggerDefinition
|
|
{
|
|
public TriggerDefinition(string id, AxisAlignedBounds bounds, string kind)
|
|
{
|
|
Id = id;
|
|
Bounds = bounds;
|
|
Kind = kind;
|
|
}
|
|
|
|
public string Id { get; init; }
|
|
|
|
public AxisAlignedBounds Bounds { get; init; }
|
|
|
|
public string Kind { get; init; }
|
|
} |