This commit is contained in:
Jeremiah Billmann
2013-07-14 14:52:59 -04:00
parent 0883042510
commit 9d364265e9
5 changed files with 37 additions and 15 deletions
+2 -2
View File
@@ -117,8 +117,8 @@ GarageServer.prototype.updateEntityState = function (id, state) {
this.game.updateEntityState(id, state);
};
GarageServer.prototype.addEntity = function (id, state) {
this.game.addEntity(id, state);
GarageServer.prototype.addEntity = function (id) {
this.game.addEntity(id);
};
GarageServer.prototype.removeEntity = function (id) {
+2 -2
View File
@@ -90,8 +90,8 @@ GarageServerGame.prototype.removePlayer = function (id) {
this.playerController.remove(id);
};
GarageServerGame.prototype.addEntity = function (id, state) {
this.entityController.add(id, state);
GarageServerGame.prototype.addEntity = function (id) {
this.entityController.add(id);
};
GarageServerGame.prototype.removeEntity = function (id) {