package net.fdms.Action 
{
	import com.greensock.easing.*;
	/**
	 * 缓动运行库
	 * @author Dawnboy
	 */
	public class EaseLib 
	{
		
		public function EaseLib() 
		{
			
		}
		public static function getEase(style:int):Function {
			var result:Function;
			switch(style) {
				//弹动
				case 1:
					result = Elastic.easeOut;
					break;
				//缓动
				case 2:
					result = Expo.easeOut;
					break;
				default:
					break;
			}
			return result;
		}
		
	}

}