package ui{
	import jp.progression.casts.*;
	import jp.progression.commands.display.*;
	import jp.progression.commands.lists.*;
	import jp.progression.commands.net.*;
	import jp.progression.commands.tweens.*;
	import jp.progression.commands.*;
	import jp.progression.data.*;
	import jp.progression.events.*;
	import jp.progression.scenes.*;
	
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @oshige ...
	 */
	public class UIPanel extends CastSprite {
		private var indexBtn:GoIndexButton;
		private var sceneABtn:GoSceneAButton;
		private var sceneBBtn:GoSceneBButton;
		public function UIPanel( initObject:Object = null ) {
			// 親クラスを初期化します。
			super( initObject );
			//パネルを作る
			creatPanel();
		}
		private function creatPanel():void {
			var panel:Sprite = new Sprite();
			panel.graphics.beginFill(0xDDDDDD);
			panel.graphics.drawRoundRect(0,0,360,30,10,10);
			panel.graphics.endFill();
			panel.alpha = 0.4;
			addChild(panel);
			indexBtn = new GoIndexButton();
			sceneABtn = new GoSceneAButton();
			sceneBBtn = new GoSceneBButton();
			indexBtn.x = 10;
			sceneABtn.x = 130;
			sceneBBtn.x = 250;
			indexBtn.y = sceneABtn.y = sceneBBtn.y = 4;
			panel.addChild(indexBtn);
			panel.addChild(sceneABtn);
			panel.addChild(sceneBBtn);
		}
		protected override function atCastAdded():void {
			addCommand(
			)
		}
		//
		protected override function atCastRemoved():void {
			addCommand(
			)
		}
	}
}
