2023-05-17 06:15:31 +00:00
|
|
|
namespace Pong.Scripts;
|
|
|
|
|
|
|
|
public static class Constants
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// a constant representing 1 Meter in pixels.
|
|
|
|
/// </summary>
|
2023-05-23 07:21:54 +00:00
|
|
|
public const double Meter = 10;
|
2023-05-22 02:41:48 +00:00
|
|
|
|
2023-05-23 07:21:54 +00:00
|
|
|
/// <summary>
|
|
|
|
/// the pixel size of either the vertical or the horizontal size of the walls.
|
|
|
|
/// </summary>
|
|
|
|
public const long WallSize = 30;
|
2023-05-23 17:38:40 +00:00
|
|
|
|
2023-05-22 02:41:48 +00:00
|
|
|
/// <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>
|
2023-05-23 07:21:54 +00:00
|
|
|
public const long WallSizeExtents = WallSize / 2;
|
2023-05-17 06:15:31 +00:00
|
|
|
}
|