コード例 #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);
 }