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