man try to ameliorate the man's movements by using this for a beginning
public void checkKeys() //method that assignes movements to the turtle is either the left or right key is pressed.
{
if ( Greenfoot.isKeyDown("left")) // Turtle turns -5 degrees if the left arrow of the keyboard is pressed.
{
turn(-5);
}
if( Greenfoot.isKeyDown("right")) // Turtle turns 5 degrees if the right arrow of the keyboard is pressed.
{
turn(5);
}
}
then later you will use something that requires you to use Rotation.
2013/3/18
2013/3/18
2013/3/19
2013/3/19
2013/3/19
2013/3/19
2013/3/19
2013/3/20
2013/3/27
2013/5/24