Pong/Scripts/Data/Settings.cs

18 lines
376 B
C#
Raw Normal View History

namespace Pong.Scripts.Data;
/// <summary>
/// a structure containing the data of the settings.
/// </summary>
public struct Settings
{
/// <summary>
/// the scale of the game. this can be from 1.0 to 2.0
/// </summary>
public double Scale;
/// <summary>
/// the default values of settings.
/// </summary>
public static Settings Default => new() { Scale = 1.0 };
}