right arrow
Examples: Monday, today, last week, Mar 26, 3/26/04
1 DAY until our COVID-19's impact on admissions webinar, tomorrow at 3:00 pm ET. REGISTER NOW and let us know what questions you have and want answered.
Check out our newest addition to the Student Lounge. Go to the "STUDENT HERE: Ask Me Anything!" and connect with fellow students who can answer your school specific questions!
Most of the decisions are in by now. Connect with fellow students and share support for those who didn't get the best news.

Ap Computer Science- GridWorld: World And Grid

DannyNobelDannyNobel - 448 replies160 threads Member
I am confused about the relationship between world and grid. When do you use which and such, do you always use one to compliment the other such as in:

ActorWorld world = new ActorWorld();
Grid gr = new BoundedGrid(10,10);

Actor clown = new Actor();
Location loc = new Location(3,4);

gr.put(loc, clown);


Thanks! ;D
edited April 2011
1 replies
Post edited by DannyNobel on
· Reply · Share

Replies to: Ap Computer Science- GridWorld: World And Grid

  • imnotcleverimnotclever 1 replies0 threads New Member
    Hi. The world class is not part of the appendix at the end of the test. So the college board would never ask you to write a new method or class using the world class.

    The world class helps create graphics when you actually run a program on a computer. The Grid keeps track of the Actors themselves. You would never really write something that has both a World and a Grid at the same time.
    · Reply · Share
This discussion has been closed.

Recent Activity