Back to project page AndroSol.
The source code is released under:
MIT License
If you think the Android project AndroSol listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lib.cards.views; //from w ww .jav a 2s .c om import lib.cards.models.EventHandler; import lib.cards.views.GameBoard.SpriteSelectedListener; public class SpriteSelectedEventHandler extends EventHandler<SpriteSelectedListener, SpriteEventObject> { public void fireOnSpriteSelected(GameBoard board, Sprite sprite) { if (hasListeners()) { SpriteEventObject eventObject = new SpriteEventObject(board, sprite); notifyListeners(eventObject); } } @Override public void notifyListener(SpriteSelectedListener listener, SpriteEventObject eventObject) { listener.onSpriteSelected(eventObject); } }