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; /*ww w . j a v a2 s . c om*/ public class ScoreChangedEventHandler extends EventHandler<Game.ScoreChangedListener, ScoreChangedEventObject> { public void fireOnScoreChanged(Game source, int oldScore, int newScore) { if (hasListeners()) { ScoreChangedEventObject args = new ScoreChangedEventObject(source, oldScore, newScore); notifyListeners(args); } } @Override protected void notifyListener(Game.ScoreChangedListener listener, ScoreChangedEventObject args) { listener.onScoreChanged(args); } }