getAmountTraded( resource, direction, other )
instance function
Check trade betweent this Player and another.
Arguments
Name | Type | Description |
---|---|---|
resource | Resources.Type | Resource to check |
direction | Player.TradeDirection | Direction of trade - either to or from the other Player |
other | Player | Other end of the trade relationship |
Returns
Type | Description |
---|---|
Number | Amount traded |