Walls


Premium Content - Free Preview

Sometimes you need to take two steps back in order to move forward

You need to navigate towards the goal, and get around the Walls in your path. You can use explorer.getSpace().isWall() to see if the Space to the right is a Wall. You can also pass a Direction parameter to getSpace to check another Direction, such as:
explorer.getSpace(Direction.DOWN).isWall()


End of Free Content Preview. Please Sign in or Sign up to buy premium content.

Comments

Contact Us
Sign in or email us at [email protected]