예제 #1
0
		public TargetedActionState (TargetedAction action, Node target)
			: base (action, target)
		{   
			ForcedTarget = action.ForcedTarget;
			TargetedAction = action.Action;

			ActionState = (FiniteTimeActionState)TargetedAction.StartAction (ForcedTarget);
		}
예제 #2
0
        public TargetedActionState(TargetedAction action, Node target)
            : base(action, target)
        {
            ForcedTarget   = action.ForcedTarget;
            TargetedAction = action.Action;

            ActionState = (FiniteTimeActionState)TargetedAction.StartAction(ForcedTarget);
        }