1
0

Add game client

This commit is contained in:
Victor 2014-03-16 13:03:24 +02:00
parent 47423703a9
commit 52c5fb6048

View File

@ -0,0 +1,21 @@
package com.annimon.turrets;
import java.io.IOException;
import java.net.Socket;
/**
*
* @author aNNiMON
*/
public class GameClient implements Constants {
private final SocketHelper helper;
public GameClient(String host) throws IOException {
helper = new SocketHelper(new Socket(host, PORT));
}
public SocketHelper getHelper() {
return helper;
}
}