mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-09-11 11:53:23 +08:00
Progress #3
This commit is contained in:
@@ -124,8 +124,8 @@ GarageServer.prototype.updatePlayerState = function (id, state) {
|
||||
this.game.updatePlayerState(id, state);
|
||||
};
|
||||
|
||||
GarageServer.prototype.addEntity = function (id) {
|
||||
this.game.addEntity(id);
|
||||
GarageServer.prototype.addEntity = function (id, state) {
|
||||
this.game.addEntity(id, state);
|
||||
};
|
||||
|
||||
GarageServer.prototype.removeEntity = function (id) {
|
||||
|
||||
Reference in New Issue
Block a user