package net.fdms.Database.Games 
{
	import net.fdms.Function.Convert.XMLtoOBJECT;
	/**
	 * 2011/5/13 16:34
	 * @author Dawnboy
	 */
	public class GamesData 
	{
		
		public function GamesData() 
		{
			
		}
		
		/**
		 * 初始化游戏数据
		 * @param	gameSets
		 */
		public static function init(gameSets:XMLList):void {
			if (gameSets.plant != XMLList(undefined) && gameSets.plant.children().length()) {
				var foo:Array = [];
				var n:int = gameSets.plant.children().length();
				for (var a:int = 0; a < n; a ++ ) {
					foo.push(XMLtoOBJECT.convert(gameSets.plant.item[a]));
				}
				Roulette.init(foo);
			}
			//在此添加其他游戏数据处理类
		}
		
	}

}