const preact = require('preact');

function animationDivs(classes) {
    switch (classes) {
        case 'blast-cast': return Array.from({ length: 100 }).map(j => <div key={j} class="blast-cast"></div>);
        case 'blast-hit': return Array.from({ length: 100 }).map(j => <div key={j} class="blast-hit"></div>);
        default: return <div>&nbsp;</div>;
    }
}

module.exports = { animationDivs };
