acceptTradeRequest

static boolean acceptTradeRequest()

Accepts the most recent trade request

Return

true if the trade was accepted, false otherwise

static boolean acceptTradeRequest(String trader)

Accepts a trade request from the specified trader

Return

true if the trade was accepted, false otherwise

Parameters

trader

the player who traded us