v0.3.1: re-added hold to search

This commit is contained in:
Evan Debenham 2015-07-15 00:39:20 -04:00 committed by Evan Debenham
parent 72ed50545d
commit cde5a4f63b
2 changed files with 11 additions and 5 deletions

View File

@ -45,8 +45,8 @@ public class Sign {
"may be upgraded, or degraded and cursed! Unidentified items are unpredictable, so be careful!", "may be upgraded, or degraded and cursed! Unidentified items are unpredictable, so be careful!",
"Charging forward recklessly is a great way to get killed.\n\n" + "Charging forward recklessly is a great way to get killed.\n\n" +
"Slowing down a bit to examine enemies and use the environment and items to your advantage can make a " + "Slowing down a bit to examine enemies and use the environment and items to your advantage can make a " +
"big difference.\n\nThe dungeon is full of traps and hidden passageways as well, keep your eyes open.\n\n " + "big difference.\n\nYou can double tap or hold on the examine button to search for secrets. " +
"You can double tap on the examine button to search the area for secrets.", "The dungeon is full of traps and hidden passageways, keep your eyes open!",
"Levelling up is important!\n\nBeing about the same level as the floor you are on is a good idea. " + "Levelling up is important!\n\nBeing about the same level as the floor you are on is a good idea. " +
"Hunger may keep you moving in search of more food, but don't be afraid to slow down a little and train." + "Hunger may keep you moving in search of more food, but don't be afraid to slow down a little and train." +
"\n\n\nHunger and health are both resources, and using them well can mean starving yourself in order" + "\n\n\nHunger and health are both resources, and using them well can mean starving yourself in order" +
@ -86,9 +86,9 @@ public class Sign {
"Pixel-Mart. Special prices for demon hunters!", "Pixel-Mart. Special prices for demon hunters!",
//hmm.. I wonder what this is? //hmm.. I wonder what this is?
"standOfF roW", "Laden Worts",
"fraCtion doWnpOur", "TeeTh gun",
"gaffe MaSts" "Chafe riTzy"
}; };
private static final String TXT_BURN = private static final String TXT_BURN =

View File

@ -108,6 +108,12 @@ public class Toolbar extends Component {
Dungeon.hero.search(true); Dungeon.hero.search(true);
} }
} }
@Override
protected boolean onLongClick() {
Dungeon.hero.search(true);
return true;
}
}); });
btnQuick = new Tool[4]; btnQuick = new Tool[4];