public JumpByState (JumpBy action, Node target) : base (action, target) { Delta = action.Position; Height = action.Height; Jumps = action.Jumps; P = StartPosition = target.Position; }
public JumpToState (JumpBy action, Node target) : base (action, target) { Delta = new Vector3 (Delta.X - StartPosition.X, Delta.Y - StartPosition.Y, Delta.Z - StartPosition.Z); }
public JumpToState(JumpBy action, Node target) : base(action, target) { Delta = new Vector3(Delta.X - StartPosition.X, Delta.Y - StartPosition.Y, Delta.Z - StartPosition.Z); }