Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function loop(sym){
- if(tellerMuntjes == 12)
- {tellerMuntjes = 1;}
- var muntje = "muntje"+tellerMuntjes;
- setTimeout(function()
- {
- console.log(muntje);
- //muntjesGenereren(sym, muntje);
- var muntjeSymbol = sym.getSymbol(muntje);
- var muntjeElement = muntjeSymbol.getSymbolElement();
- muntjeElement.animate({top: "+=840"},6000, "linear");
- tellerMuntjes = tellerMuntjes + 1;
- loop(sym);
- }, 1500);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement