Pong/Scripts/Constants.cs
Fries 3e61187065 add an .editorconfig.
and i also added some events for when i want the ball and enemy paddle to move.
2023-05-23 10:38:40 -07:00

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;
}