added up and down to the buttons that can close a card display box. now while in graveyards, opponentshand, libraries, if you pressed up or down rather then being tossed into the card selector zones above or below it will close the box and move to the new area.

This commit is contained in:
omegablast2002@yahoo.com
2010-11-12 18:35:22 +00:00
parent 71b0a7dee4
commit 6adf96e20c

View File

@@ -124,7 +124,7 @@ bool CardDisplay::CheckUserInput(int x, int y) {
bool CardDisplay::CheckUserInput(JButton key){
if (JGE_BTN_SEC == key || JGE_BTN_PRI == key)
if (JGE_BTN_SEC == key || JGE_BTN_PRI == key || JGE_BTN_UP == key || JGE_BTN_DOWN == key)
{
if (listener){
listener->ButtonPressed(mId, 0);