nicolasgramlich/AndEngine — pull request #131 by shmeeps (2012-06-17 08:08:57+00:00)
Title: Added TiledSpriteMenuItem to Menu Items

Added TiledSpriteMenuItem, which creates a SpriteMenuItem that supports two frames corresponding to an up and down state, respectively. This allows for a user to receive visual feedback about which menu item was pressed.

I created this for a project of mine and figured someone else may find some use for it, as there were a few questions on the AndEngine forums about whether this was natively supported or not. The code is based off of SpriteMenuItem and merges in differences from TiledSprite vs. Sprite.