//
// Health.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace NosSmooth.Game.Data.Info;
///
/// Represents the health or mana of an entity.
///
/// The current amount of health.
/// The maximum amount of health.
public record Health(long Amount, long Maximum)
{
private decimal Percentage => (decimal)Amount / Maximum;
}