Search:

Type: Posts; User: chaucer345

Search: Search took 0.22 seconds.

  1. Re: A Question About Merging Many Methods into One

    I'm a bit confused by this answer.

    I'm new to java, but it appears to me from what you've coded that you're creating a new object every time you run that method. That implies that I would have to...
  2. A Question About Merging Many Methods into One

    Hello all, I've bumped into an interesting coding conundrum recently and seek the wisdom of much more experienced programmers.

    So I've been working on a text adventure (which was formerly written...
  3. Re: Creating Objects: A question about the Java Tutorials example program

    I'm guessing the classes need to be separate files in the same package. I'm going to try that out.
  4. Creating Objects: A question about the Java Tutorials example program

    Hello All,

    So I've been trying to learn Java to write a browser based text adventure and to do this I've been going through the standard java tutorials found here:
    Objects (The Java™...
  5. Re: Living Without cin... or Pointers (A Thread About Java Text Adventures!)

    I'm still a little confused here, how did the code know that the constructor was the method from the Player class that you were calling? You declared three.

    Also, (and here's the part where I...
  6. Re: Living Without cin... or Pointers (A Thread About Java Text Adventures!)

    I'm very sorry to bother you about this, but would you be able to break that down for me? I get that the "pl" part is the instance of the class player within the main method, and that the code you...
  7. Re: Living Without cin... or Pointers (A Thread About Java Text Adventures!)

    Okay! I was wondering what all of the really short methods I was seeing that defined a single variable were about. I have a question though, Would any of the methods you listed work? Are you calling...
  8. Living Without cin... or Pointers (A Thread About Java Text Adventures!)

    Hello all!

    Okay, so I guess it's pretty obvious from the title that I started programming in Java after I learned a bit of C++. I swapped because I basically found out that the fun little game...
Results 1 to 8 of 8