package display 
{
	import flash.geom.Point;
	import starling.display.Quad;
	import starling.display.Shape;
	import starling.display.Sprite;
	import starling.text.TextField;
	
	/**
	 * ...
	 * @author RedMaster
	 */
	public class Hint extends Sprite 
	{
		private var _text:TextField;
		private var _bg:Quad;
		
		public function Hint(size:Point, text:String) 
		{
			_text = new TextField(size.x, size.y, text, C.FONT_NAME, 20, 0xFFFFDD);
			_text.border = true;
			
			_bg = new Quad(_text.width, _text.height, 0x000000);
			_bg.alpha = 0.5;
			
			addChild(_bg);
			addChild(_text);
		}
	}
}