Pong/Scripts/Constants.cs
Fries 41f7e7b1a0 the walls can now scale to the resolution
but the paddles and score text stay where they are. i plan on adding the paddles and score text moving later.
2023-05-21 19:41:48 -07:00

15 lines
391 B
C#

namespace Pong.Scripts;
public static class Constants
{
/// <summary>
/// a constant representing 1 Meter in pixels.
/// </summary>
internal const double Meter = 10;
/// <summary>
/// the extents (half of the size) of the pixel size of either the width for the vertical walls,
/// or the height for the horizontal walls.
/// </summary>
internal const long WallSizeExtents = 15;
}