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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user