Game/GameState.cs

Enum that represents the current phase of the Breakout game loop. Defines four states: Menu, Serving, Playing, and GameOver.

namespace Breakout;

/// <summary>
/// Which part of the game loop we're in. The flow is Menu, then Serving (the ball sits on the
/// paddle waiting to be fired), then Playing, then GameOver, and back to Menu.
/// </summary>
public enum GameState
{
	Menu,
	Serving,
	Playing,
	GameOver
}