public class SelectionPokemonUI extends PokemonUI
| Constructor and Description |
|---|
SelectionPokemonUI(int leftOffset,
int topOffset,
Pokemon pokemon)
Creates a pokemon ui.
|
| Modifier and Type | Method and Description |
|---|---|
Pokemon |
getPokemon() |
boolean |
isSelected() |
void |
setSelected(boolean selected) |
drawPokemon, drawPokemon, isMouseOverpublic SelectionPokemonUI(int leftOffset,
int topOffset,
Pokemon pokemon)
leftOffset - The x offset of the button from the left of the screen.topOffset - The y offset of the button from the top of the screen.pokemon - public Pokemon getPokemon()
public boolean isSelected()
public void setSelected(boolean selected)