Class TCPClient

  • All Implemented Interfaces:
    Runnable

    public class TCPClient
    extends Object
    implements Runnable
    Client class for a tcp connection
    Author:
    Darius Dinger
    • Constructor Detail

      • TCPClient

        public TCPClient()
    • Method Detail

      • isRunning

        public static boolean isRunning()
        Returns:
        Is the client still connected to the server
      • getPlayerName

        public static String getPlayerName()
        Returns:
        Player name on the connected server
      • join

        public static void join()
        Joining client on the current scene
      • run

        public void run()
        Specified by:
        run in interface Runnable