예제 #1
0
파일: JumpBy.cs 프로젝트: Zamir7/urho
		public JumpByState (JumpBy action, Node target)
			: base (action, target)
		{ 
			Delta = action.Position;
			Height = action.Height;
			Jumps = action.Jumps;
			P = StartPosition = target.Position;
		}
예제 #2
0
파일: JumpTo.cs 프로젝트: Zamir7/urho
		public JumpToState (JumpBy action, Node target)
			: base (action, target)
		{ 
			Delta = new Vector3 (Delta.X - StartPosition.X, Delta.Y - StartPosition.Y, Delta.Z - StartPosition.Z);
		}
예제 #3
0
 public JumpToState(JumpBy action, Node target)
     : base(action, target)
 {
     Delta = new Vector3(Delta.X - StartPosition.X, Delta.Y - StartPosition.Y, Delta.Z - StartPosition.Z);
 }