package com.Tutorial 
{
    import com.adamatomic.flixel.*;
	import com.adamatomic.flixel.data.FlxLogoPixel;
	
	/**
	 * ...
	 * @author Stephen Lavelle
	 */
	public class GameOver extends FlxState
	{ 
		public static var lyrMain:FlxLayer;
		
		public function GameOver() 
		{
			lyrMain = new FlxLayer();
									
			lyrMain.add(new FlxText(0, FlxG.height / 2 - 40, FlxG.width, 16, "GAME OVER", 0xff8d431f, null, 16, "center"));
			
			lyrMain.add(new FlxText(0, FlxG.height / 2 - 8+16, FlxG.width, 16, "Number of Battles:", 0xff8d431f, null, 8, "center"));
			lyrMain.add(new FlxText(0, FlxG.height / 2 - 8+16+20, FlxG.width, 16, BattleState.matchCount.toString(), 0xff8d431f, null,16, "center"));
			

			this.add(lyrMain);
		}
		
		override public function update():void
		{
		}
	}

}