I made a typical HTML5 2D game and used the newer ES6 class syntax.
I structured the entire program around a single update() method that makes the call to requestAnimationFrame(). I am also updating the game clock myself.
Is it okay to have multiple update() methods, so that each each class basically has its own update() that calls requestAnimationFrame()?