Advertisement
TrodelHD

Untitled

Mar 17th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. package Spiel;
  2.  
  3. import java.util.ArrayList;
  4.  
  5. public class Game {
  6.  
  7. public Main m;
  8.  
  9. public Game(int port, int z) {
  10.  
  11.  
  12.  
  13. m.roundnuber=z;
  14. if(m.roundnuber>0){
  15. Connection con = new Connection();
  16. con.Hostcon("", port);
  17. WaitforConnection wfc = new WaitforConnection();
  18. wfc.show();
  19. m.roundnuber--;
  20. }else{
  21. Main m2 = new Main();
  22. }
  23.  
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement