Search:

Type: Posts; User: Xhalite

Search: Search took 0.17 seconds.

  1. Re: Random Boolean in an if statement (tricky, can't seem to figure out)

    Thanks, I figured it out! I put the if statement before the return value and it worked like a charm!
  2. Re: Random Boolean in an if statement (tricky, can't seem to figure out)

    But the if statement is necessary, because I then use the blockCheck method to do exactly what it says, check if the player blocks or not based on the true/false(block/!block) in the Game class...
  3. Re: Random Boolean in an if statement (tricky, can't seem to figure out)

    The error on the if statement is "unreachable statement". The error on "public static boolean..." is "missing return statement, missing javadoc". I thought I did put in a return statement and I know...
  4. Random Boolean in an if statement (tricky, can't seem to figure out)

    Okay, so I have a class and in this class I have a method that runs a random boolean generator and I want to make it so that, depending on the value, it does one thing or the other. It's part of the...
  5. Thread: Hello

    by Xhalite
    Replies
    4
    Views
    212

    Re: Hello

    Hello! I'm new too! Welcome Lol
  6. Replies
    17
    Views
    13,231

    Netbeans vs Eclipse

    Anybody know which one works better for them? I've tried both, but I think I prefer netbeans mainly because it is made by oracle so it'll always be updated even when Java 8, 9, 10 or whatever comes...
  7. Thread: Hey there!

    by Xhalite
    Replies
    2
    Views
    212

    Hey there!

    Hi, I'm Xha, and I'm a newbie programmer. I've played a lot with Java (and C++) and I'm going to college to major in computer science. Anyhow, I wish to get good at programming in java. It seems a...
Results 1 to 7 of 7