Guest User

Untitled

a guest
Apr 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. if (hKarten[0]==0 )
  2. System.out.println("Keine Handkarten!! Es können keine aufs Feld gelegt werden");
  3. else{
  4. System.out.print("Welche Karte willst du spielen? Du hast folgende Auswahl: ");
  5. for (int i=0; i < hand[0].length; i++){
  6. if (hand[0][i].hp != 0 || hand[0][i].sup == true){
  7. System.out.print(hand[0][i].name);
  8. if (hKarten[0] != 1 && i != hand[0].length )
  9. System.out.print(", ");
  10.  
  11. }
  12. }
  13.  
  14. }
Add Comment
Please, Sign In to add comment