Results 1 to 4 of 4
Thread: need help please!!!
- 02-16-2008, 01:32 AM #1
Member
- Join Date
- Feb 2008
- Posts
- 1
- Rep Power
- 0
need help please!!!
can any one tell me how to start this please.
Now you will do one from scratch. Define a new object called Player which will represent a person in a game environment. Players should have at least these attributes: name (a String), location( a java.awt.Point object) and direction (an int). Set up appropriate constructors, get/set methods and toString() method. Finally, create a test program called PlayerTestProgram that creates three players and displays them (Perhaps start by saving the CustomerTestProgram.java as PlayerTestProgram.java and then modify the code).
- 02-16-2008, 02:46 AM #2
No.can any one tell me how to start this please.
Well, okay- actually I will- can you read and understand English? How about Java- do you know any Java? Did you absolutely forget to read what you posted?? Otherwise, everything you need is in your post! Get a beginning book on Java if you're new.
This is your homework. If you don't want to do it- that's on you, but I'm sure not going to do it for you. What do you think this is? the Homework Forums? Get a book, read Sun's tutorials and use Google. Help yourself before we can help you.Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
- 06-14-2008, 03:25 AM #3
Member
- Join Date
- Jun 2008
- Posts
- 22
- Rep Power
- 0
A little help:
class Player
{
}
;-)
-


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks