comic-bubbles
Version:
Animated comic bubbles - what else?
27 lines (20 loc) • 377 B
JavaScript
export let counter = 0
export let charsDrawn = 0
export function incCounter() {
counter++
}
export function setCounter(newCounterValue) {
counter = newCounterValue
}
export function decrCounter() {
counter--
}
export function resetCounter() {
counter = 0
}
export function incCharsDrawn() {
charsDrawn++
}
export function resetCharsDrawn() {
charsDrawn = 0
}