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.models; /* www. j a v a 2 s .c om*/ public class CardsMovedEventHandler extends EventHandler<Game.CardsMovedListener, CardsMovedEventObject> { public void fireOnCardsMoved(Game game, GameState oldState, GameState newState) { if (hasListeners()) { CardsMovedEventObject eventObject = new CardsMovedEventObject(game, oldState, newState); notifyListeners(eventObject); } } @Override protected void notifyListener(Game.CardsMovedListener listener, CardsMovedEventObject args) { listener.onCardsMoved(args); } }