using System; using System.Text.Json.Serialization; 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 double Scale; /// /// the default values of settings. /// public static Settings Default => new() { Scale = 1.0 }; }