Advertisement
weeez

SzolancJatek

Apr 18th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1. package szolanc;
  2.  
  3. public class SzolancJatek {
  4.     private static final int port = 32123;
  5.     private static final String ip = "localhost";    
  6.     public static void main(String args[]){      
  7.         try{
  8.             (new Thread(new SzolancSzerver())).start();            
  9.             (new Thread(new GepiJatekos("Robot","szokincs1.txt"))).start();
  10.             (new Thread(new SzolancKliens())).start();                                
  11.         }catch(Exception e){
  12.             System.err.println("Egyeb hiba" + e);
  13.         }
  14.     }    
  15.    
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement