Some cleanup

This commit is contained in:
Guillaume DE LA RUE 2011-02-12 16:00:26 +01:00
parent c3e9a3985f
commit a077fe0216
3 changed files with 0 additions and 40 deletions

View file

@ -1,7 +0,0 @@
var DisplayController = function() {
this.draw = function() {
};
};

View file

@ -1,26 +0,0 @@
var GameController = function(inputController, displayController) {
this._loopRunning = false;
this._loop = null;
this._inputController = inputController;
this._displayController = displayController;
this.start = function() {
this._loopRunning = true;
this._loop = setInterval(this.loop, 30);
};
this.stop = function() {
this._loopRunning = false;
};
this.loop = function() {
this._inputController.observe();
// add other stuff here
this._displayController.draw();
};
};

View file

@ -1,7 +0,0 @@
var InputController = function() {
this.observe = function() {
};
};