20 lines
543 B
C#
20 lines
543 B
C#
namespace Pong.Scripts;
|
|
|
|
public static class Constants
|
|
{
|
|
/// <summary>
|
|
/// a constant representing 1 Meter in pixels.
|
|
/// </summary>
|
|
public const double Meter = 10;
|
|
|
|
/// <summary>
|
|
/// the pixel size of either the vertical or the horizontal size of the walls.
|
|
/// </summary>
|
|
public const long WallSize = 30;
|
|
|
|
/// <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>
|
|
public const long WallSizeExtents = WallSize / 2;
|
|
}
|