<?xml version="1.0" encoding="utf-8" ?>

<Scene BackgroundColor="#F000">
	<StyleRef File="menu.css" />

	<SpriteElement Location="400,128" Source="menuTitleSprite" />
	<TextElement Location="400,190" Font="Pacman Medium" Color="LimeGreen">
		Powered by Vortex2D.NET
	</TextElement>

	<FlowPanel Id="_mainPanel" Bounds="0,250:800,350" MaxWidgetsPerRow="1" RowSpacing="20" Layout="center">
		<Label Class="MenuItem" Size="300,50" Text="Start Game" e-OnClick="StartGameButtonClick"/>
		<Label Class="MenuItem" Size="300,50" Text="Instructions" e-OnClick="InstructionsButtonClick"/>
		<Label Class="MenuItem" Size="200,50" Text="About" e-OnClick="AboutButtonClick"/>
		<Label Class="MenuItem" Size="200,50" Text="Exit"  e-OnClick="ExitButtonClick"/>
	</FlowPanel>

	<FlowPanel Id="_aboutPanel" Bounds="800,250:800,350" MaxWidgetsPerRow="1" RowSpacing="20" Layout="center">
		<Label Size="600, 200" Style="text-font: 'Pacman Medium';">
			Pacman - yellow blob with a mouth was originally created by Namco in early 1980's. This demo is tribute to 20th aniversary of Pacman.
			Idea is a simple - guide Pacman around maze and eat all the little white dots avoiding nasy ghosts. If you eat a Power Pill, you can eat the ghosts!"
		</Label>
		<Label Class="MenuItem" Size="400,50" Text="Back To Menu" e-OnClick="BackToMenuClick"/>
	</FlowPanel>

	<FlowPanel Id="_instructionsPanel" Bounds="800,250:800,350" MaxWidgetsPerRow="1" RowSpacing="20" Layout="center">
		<Label Size="600, 180" Style="text-font: 'Pacman Medium';">
			Arrow Keys For Pacman
			P: Pause/Unpause Game
			Esc: Quit Game
			M: Mute/Unmute Sound
		</Label>
		<Label Class="MenuItem" Size="400,50" Text="Back To Menu" e-OnClick="BackToMenuClick"/>
	</FlowPanel>
</Scene>