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

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