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; /* ww w . ja v a 2 s . c o m*/ import lib.cards.models.EventHandler; import lib.cards.views.GameBoard.SpriteRemovedListener; public class SpriteRemovedEventHandler extends EventHandler<SpriteRemovedListener, SpriteEventObject> { public void fireOnSpriteRemoved(GameBoard board, Sprite sprite) { if (hasListeners()) { SpriteEventObject eventObject = new SpriteEventObject(board, sprite); notifyListeners(eventObject); } } @Override public void notifyListener(SpriteRemovedListener listener, SpriteEventObject eventObject) { listener.onSpriteRemoved(eventObject); } }