コード例 #1
0
ファイル: LNRepeat.cs プロジェクト: 207h2Flogintvg/LGame
		public static LNRepeat Action(LNAction action, int t) {
			LNRepeat repeat = new LNRepeat();
			repeat.time = t;
			repeat._action = action;
			repeat._duration = t * action.GetDuration();
			return repeat;
		}
コード例 #2
0
        public static LNRepeat Action(LNAction action, int t)
        {
            LNRepeat repeat = new LNRepeat();

            repeat.time      = t;
            repeat._action   = action;
            repeat._duration = t * action.GetDuration();
            return(repeat);
        }