TickConfetti advances the confetti animation by one frame.
()
| 153 | |
| 154 | // TickConfetti advances the confetti animation by one frame. |
| 155 | func (c *CompletionScreen) TickConfetti() { |
| 156 | if c.confetti != nil { |
| 157 | c.confetti.Tick() |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | // HasConfetti returns true if confetti is still animating. |
| 162 | func (c *CompletionScreen) HasConfetti() bool { |