Beispiel #1
0
        //Moves Link right
        public void MoveRight()
        {
            state.MoveLinkRight();

            while (position.X < Constant.ScreenWidth)
            {
                position.X++;
            }
        }
Beispiel #2
0
 //Sets link to the moving right state
 public void MovePlayerRight()
 {
     state.MoveLinkRight();
 }