AP Gridworld Case Study Classes

21 terms by vt4ethan

Create a new folder

Advertisement Upgrade to remove ads

Location.NORTH

0

Location.EAST

90

Location.SOUTH

180

Location.WEST

270

Location.NORTHEAST

45

Location.SOUTHEAST

135

Location.SOUTHWEST

225

Location.NORTHWEST

315

Location.LEFT

-90

Location.RIGHT

90

Location.HALF_LEFT

-45

Location.HALF_RIGHT

45

Location.FULL_CIRCLE

360

Location.HALF_CIRCLE

180

Location.AHEAD

0

Location class

Location
getRow
getCol
getAdjacentLocation
getDirectionToward
equals
hashCode
compareTo
toString

Actor class

Actor
getColor
setColor
getDirection
setDirection
getGrid
getLocation
putSelfInGrid
removeSelfFromGrid
moveTo
act
toString

Bug class

Bug
Bug
act
turn
move
canMove

BoxBug class

BoxBug
act

Critter class

act
getActors
processActors
getMoveLocations
selectMoveLocation
makeMove

ChameleonCritter

processActors
makeMove

Please allow access to your computer’s microphone to use Voice Recording.

Having trouble? Click here for help.

We can’t access your microphone!

Click the icon above to update your browser permissions above and try again

Example:

Reload the page to try again!

Reload

Press Cmd-0 to reset your zoom

Press Ctrl-0 to reset your zoom

It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

Please upgrade Flash or install Chrome
to use Voice Recording.

For more help, see our troubleshooting page.

Your microphone is muted

For help fixing this issue, see this FAQ.

Star this term

You can study starred terms together

NEW! Voice Recording

Create Set