implement tile movement

This commit is contained in:
Gabriele Cirulli
2014-03-09 14:32:30 +01:00
parent b7476f1f62
commit b20e26e3bd
10 changed files with 286 additions and 36 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
document.addEventListener("DOMContentLoaded", function () {
var actuator = new HTMLActuator;
var manager = new GameManager(4, actuator);
// Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
var manager = new GameManager(4, KeyboardInputManager, HTMLActuator);
});