예제 #1
0
파일: Spawn.cs 프로젝트: yrest/urho
        public SpawnState(Spawn action, Node target)
            : base(action, target)
        {
            ActionOne = action.ActionOne;
            ActionTwo = action.ActionTwo;

            ActionStateOne = (FiniteTimeActionState)ActionOne.StartAction(target);
            ActionStateTwo = (FiniteTimeActionState)ActionTwo.StartAction(target);
        }
예제 #2
0
파일: RepeatForever.cs 프로젝트: yrest/urho
        protected internal override void Step(float dt)
        {
            InnerActionState.Step(dt);

            if (InnerActionState.IsDone)
            {
                float diff = InnerActionState.Elapsed - InnerActionState.Duration;
                InnerActionState = (FiniteTimeActionState)InnerAction.StartAction(Target);
                InnerActionState.Step(0f);
                InnerActionState.Step(diff);
            }
        }
예제 #3
0
		protected internal override void Step (float dt)
		{
			InnerActionState.Step (dt);

			if (InnerActionState.IsDone)
			{
				float diff = InnerActionState.Elapsed - InnerActionState.Duration;
				InnerActionState = (FiniteTimeActionState)InnerAction.StartAction (Target);
				InnerActionState.Step (0f);
				InnerActionState.Step (diff);
			}
		}
예제 #4
0
파일: ActionEase.cs 프로젝트: yrest/urho
 public ActionEaseState(ActionEase action, Node target) : base(action, target)
 {
     InnerActionState = (FiniteTimeActionState)action.InnerAction.StartAction(target);
 }
예제 #5
0
파일: Spawn.cs 프로젝트: Zamir7/urho
		public SpawnState (Spawn action, Node target)
			: base (action, target)
		{ 
			ActionOne = action.ActionOne;
			ActionTwo = action.ActionTwo;

			ActionStateOne = (FiniteTimeActionState)ActionOne.StartAction (target);
			ActionStateTwo = (FiniteTimeActionState)ActionTwo.StartAction (target);
		}
예제 #6
0
파일: ReverseTime.cs 프로젝트: yrest/urho
 public ReverseTimeState(ReverseTime action, Node target)
     : base(action, target)
 {
     Other      = action.Other;
     OtherState = (FiniteTimeActionState)Other.StartAction(target);
 }
예제 #7
0
파일: ActionEase.cs 프로젝트: Zamir7/urho
		public ActionEaseState (ActionEase action, Node target) : base (action, target)
		{
			InnerActionState = (FiniteTimeActionState)action.InnerAction.StartAction (target);
		}
예제 #8
0
파일: ReverseTime.cs 프로젝트: Zamir7/urho
		public ReverseTimeState (ReverseTime action, Node target)
			: base (action, target)
		{   
			Other = action.Other;
			OtherState = (FiniteTimeActionState)Other.StartAction (target);
		}
예제 #9
0
파일: RepeatForever.cs 프로젝트: yrest/urho
 public RepeatForeverState(RepeatForever action, Node target)
     : base(action, target)
 {
     InnerAction      = action.InnerAction;
     InnerActionState = (FiniteTimeActionState)InnerAction.StartAction(target);
 }
예제 #10
0
		public RepeatForeverState (RepeatForever action, Node target)
			: base (action, target)
		{ 
			InnerAction = action.InnerAction;
			InnerActionState = (FiniteTimeActionState)InnerAction.StartAction (target);
		}