A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
AP Computer Science Gridworld Question?
Joined: Feb 25, 2012
Feb 25, 2012 09:53:33
Hi, if by chance anyone on here knows a bit about the AP Computer Science GridWorld case study, I have a question about the location class.
I imported the Location class, but I'm still getting a "symbol not found" error for Location.FULL_CIRCLE
setDirection(((int) Math.random((Location.FULL_CIRCLE / Location.HALF_RIGHT) * 45)))
Any help would be greatly appreciated!
Joined: Jul 21, 2011
Feb 25, 2012 10:49:21
Make sure that the Location class is on your classpath, ie that the compiler can see the class.
Is the Location class something you've been provided with your assignment, and if so where is it in relation to your other classes?
Everything is theoretically impossible, until it is done. ~Robert A. Heinlein
subject: AP Computer Science Gridworld Question?
Anyone take the AP computer science course?
making a method run a certain amount of times
Which is best reference book for Java Introduction?
How do I learn Java?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014