예제 #1
0
파일: Player.cs 프로젝트: dav3ck/Game
        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();
        }