Class TradePair
java.lang.Object
com.pixelmonmod.pixelmon.api.trading.TradePair
A trade offer and request.
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionTradePair
(PokemonSpecification offer, PokemonSpecification exchangefor) Initializes a trade pair.TradePair
(PokemonSpecification offer, PokemonSpecification exchangeFor, String description) -
Method Summary
-
Field Details
-
offer
-
exchange
-
description
-
-
Constructor Details
-
TradePair
Initializes a trade pair.- Parameters:
offer
- The Pokémon offered by the trader.exchangefor
- The Pokémon requested by the trader.
-
TradePair
-