I want to create a tiled sprite which when pressed it changes it’s tile number, makes a sound and disables the button for touch for 10 seconds.
Should I use the java thread class for this or does andengine has something more handy I can use instead?
Thanks.
AndEngine has a Delay Modifier that could be used in combination with a ModifierListener to achieve that purpose … something like
where the “10” is the time in seconds – then use the onModifierFinished method to re-enable your tile.