18 lines
376 B
C#
18 lines
376 B
C#
|
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 };
|
||
|
}
|