5 lines
190 B
JavaScript
5 lines
190 B
JavaScript
// Wait till the browser is ready to render the game (avoids glitches)
|
|
window.requestAnimationFrame(function () {
|
|
var manager = new GameManager(4, KeyboardInputManager, HTMLActuator);
|
|
});
|