private void sendGameMessage(String name, Vector2 value) { JSONValue val; String output; val = new JSONValue(); val.Name = name; val.putVector2(value); output = JsonConvert.SerializeObject(val); //handler.SendGameMessage(output, nGame.getId()); }