public class TradePair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description
The description of this trade.
|
PokemonSpec |
exchange
The Pokémon requested by the trader.
|
PokemonSpec |
offer
The Pokémon offered by the trader.
|
Constructor and Description |
---|
TradePair(PokemonSpec offer,
PokemonSpec exchangefor)
Initializes a trade pair.
|
TradePair(PokemonSpec offer,
PokemonSpec exchangeFor,
java.lang.String description) |
public PokemonSpec offer
public PokemonSpec exchange
public java.lang.String description
public TradePair(PokemonSpec offer, PokemonSpec exchangefor)
offer
- The Pokémon offered by the trader.exchangefor
- The Pokémon requested by the trader.public TradePair(PokemonSpec offer, PokemonSpec exchangeFor, java.lang.String description)