@Override
    public void handleInput() {
        InputUpdate i = new InputUpdate();     
        i.input =-1;
        if(Keys.isDown(Keys.W)){i.input = Keys.W;client.sendTCP(i);}
        else if(Keys.isDown(Keys.S)){i.input = Keys.S;client.sendTCP(i);}
        else if(Keys.isDown(Keys.A)){i.input = Keys.A;client.sendTCP(i);}
        else if(Keys.isDown(Keys.D)){i.input = Keys.D;client.sendTCP(i);}
        else client.sendTCP(i);
    }