public static void MovePlayer(Tuple <int, int> Momentum) { Player1.IsMoving = true; Player1.Animation(Momentum.Item2, Momentum.Item1); Player1.CenterCordsX += Momentum.Item1; Player1.CenterCordsY += Momentum.Item2; Player1.Update(); }
public static void MovePlayer(Tuple <int, int> Momentum) { Player1.IsMoving = true; Player1.Animation(Momentum.Item2, Momentum.Item1); Player1.CenterCordsX += Momentum.Item1; Player1.CenterCordsY += Momentum.Item2; Player1.Update(); }