Search:

Type: Posts; User: Kosmic

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    I just put only the beginning of the program, the program itself has over 400 lines. I have there Collection.shuffle - I want to shuffle the deck. To check out, if it is really shuffled, I want to...
  2. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    I just put only the beginning of the program, the program itself has over 400 lines. I have there Collection.shuffle - I want to shuffle the deck. To check out, if it is really shuffled, I want to...
  3. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    OMG, I can't even send a message here: it write "Thank you for posting! Your post will not be visible until a moderator has approved it for posting.
  4. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    I just put only the beginning of the program, the program itself has over 400 lines. I have there Collection.shuffle - I want to shuffle the deck. To check out, if it is really shuffled, I want to...
  5. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    Does it work?

    --- Update ---

    I have there Collections.shuffle. I need to check, if the deck is really suffled, so I want to add there System.out.println("and here the name of the each cards")....
  6. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    ok, I'll give you an example. I wrote there Collections.shuffle. I just need to check if the deck is shuffled. I wanted to write System.out.println(" and here is written the name of the card, but sth...
  7. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    ok, I'll give you an example. I wrote there Collections.shuffle. I just need to check if the deck is shuffled. I wanted to write System.out.println(" and here is written the name of the card, but sth...
  8. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    ok, I'll give you an example. I wrote there Collections.shuffle. I just need to check if the deck is shuffled. I wanted to write System.out.println(" and here is written the name of the card, but sth...
  9. Replies
    12
    Views
    1,285

    Re: Connection problem in Enum

    I don't know how to reffer to the enum. For example, I have one chosen card and in my main class I need to find out, which type is chosen. FE if card chosen is ENERGY, do sth. If not, do sth else....
  10. Replies
    12
    Views
    1,285

    Connection problem in Enum

    enum Cards {
    ENERGY(6),
    CORVETE(2),
    BATTLE_HAMMER(2),
    BATTLE_CRUISER(2),
    BATTLE_AXE(2),
    COLONY_SHIP(2),
    CONSTRUCTOR(2),
    DEFENDER(2),
    FRIGATE(2),
Results 1 to 10 of 10