forked from DanielMartinus/Konfetti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request DanielMartinus#10 from DanielMartinus/improvement/…
…add_systems_callback Add callback to get notified of particle system changes
- Loading branch information
Showing
4 changed files
with
43 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
konfetti/src/main/java/nl/dionsegijn/konfetti/listeners/OnParticleSystemUpdateListener.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package nl.dionsegijn.konfetti.listeners | ||
|
||
import nl.dionsegijn.konfetti.KonfettiView | ||
import nl.dionsegijn.konfetti.ParticleSystem | ||
|
||
/** | ||
* Created by dionsegijn on 5/31/17. | ||
*/ | ||
interface OnParticleSystemUpdateListener { | ||
fun onParticleSystemStarted(view: KonfettiView, system: ParticleSystem, activeSystems: Int) | ||
fun onParticleSystemEnded(view: KonfettiView, system: ParticleSystem, activeSystems: Int) | ||
} |