BBGamelib.CCSequence.initWithAction C# (CSharp) Method

initWithAction() protected method

protected initWithAction ( CCActionFiniteTime one, CCActionFiniteTime two ) : void
one CCActionFiniteTime
two CCActionFiniteTime
return void
		protected void initWithAction(CCActionFiniteTime one, CCActionFiniteTime two){
			NSUtils.Assert( one!=null && two!=null, "Sequence: arguments must be non-nil");
			NSUtils.Assert( one!=_actions[0] && one!=_actions[1], "Sequence: re-init using the same parameters is not supported");
			NSUtils.Assert( two!=_actions[1] && two!=_actions[0], "Sequence: re-init using the same parameters is not supported");

			float d = one.duration + two.duration;
			base.initWithDuration(d);
			_actions [0] = one;
			_actions [1] = two;
		}