namespace Pong.Scripts.Data;
///
/// a structure containing the data of the settings.
///
public struct Settings
{
///
/// the scale of the game. this can be from 1.0 to 2.0
///
public float Scale;
///
/// options for VSync. 0 is Disabled, 1 is Enabled, 2 is Adaptive, 3 is Mailbox. These match the enum on
/// the .
///
public int VSync;
///
/// the default values of settings.
///
public static Settings Default => new() { Scale = 1.0f, VSync = (int)DisplayServer.VSyncMode.Enabled };
}