...

View Full Version : Back Command in Java BlueJ



codingdos
10-20-2005, 06:44 AM
I'm very new to Java programming. I can do some code reading and write some code but I still need a lot of help.

I want to implement a "back" command in this game. The "back" command takes the player into the last room he/she has been in.

How do I do this? I don't even know where to start. You can open up the file with BlueJ.

I also want to refactor my project to introduce a separate "Player" class. A player object should store at least the current room of the player, but you may also like to store th eplayer's name or other information.

Thanks.

Philip M
10-20-2005, 07:26 AM
You are in the wrong forum. Your question relates to Java, not Javascript, which is an entirely different langauge in spite of the confusingly similar names. Ask a mod to move you to the correct forum.

I am afraid that people may be leery of downloading a file from a newcomer
on security grounds. Too many loonies out there!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum