//Store what card is selected
if(button instanceof CharacterButton)
{
CharacterButton character = (CharacterButton)button;
selectedCharacter = new Character(character.getType());
}
else if(button instanceof WeaponButton)
{
WeaponButton weapon = (WeaponButton)button;
selectedWeapon = new Weapon(weapon.getType());