package Flags
{
	
	/**
	 * ...
	 * @author ...
	 */
	import flash.display.Sprite;
	public class Flags extends Sprite
	{
		private var flagArr:Array;
		
		public function Flags() {
			flagArr = new Array();  
			setDefault();

		}
		
		public function setDefault():void {
			var i:int;
			for (i = 0; i < 10; i++ ){
				flagArr.push(false);
			}
			flagArr[0] = true;
		}
		
		public function getFlag(flag:int):Boolean {
			return flagArr[flag];
		}
		
		public function setFlag(flag:int, bool:Boolean ):void {
			flagArr[flag] = bool;
		}
	}
	
}