Game/Arena.cs
namespace BlockParty;

/// <summary>
/// Fixed playfield + simulation constants. The original ran at 240x240 / 60 FPS with a
/// 2px arena wall border (BaseStage.ArenaWallSize).
/// </summary>
public static class Arena
{
	public const int WIDTH = 240;
	public const int HEIGHT = 240;
	public const int WALL_SIZE = 2;

	/// <summary>Simulation tick rate (Hz). The whole game is tuned for 60.</summary>
	public const int TICK_RATE = 60;

	/// <summary>Fixed simulation timestep in seconds.</summary>
	public const float STEP = 1.0f / TICK_RATE;

	/// <summary>Centre of the playfield in logical pixels.</summary>
	public static Vector2 Center => new Vector2( WIDTH / 2f, HEIGHT / 2f );
}