private void _updateResources()
 {
     IProtocolAdapter ipa = new UdpAdapter();
     Protocol_handler ph = new Protocol_handler();
     ipa.send(ph.Player_getressources());
     int crystal, pop, popmax, vespen;
     ph.Unit_receiveRessources((Byte[])ipa.receive(), out crystal, out pop, out popmax, out vespen);
     this._playerinfo.Crystals = crystal;
     this._playerinfo.Gas = vespen;
     this._playerinfo.Pop = pop;
     this._playerinfo.PopMax = popmax;
 }