mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-09-30 11:17:39 +08:00
Adding methods for entities
This commit is contained in:
1 parent
0f00f1216e
commit
0d97d35a4b
1 file changed
+12
@@ -124,6 +124,18 @@ GarageServer.prototype.updatePlayerState = function (id, state) {
|
||||
this.game.updatePlayerState(id, state);
|
||||
};
|
||||
|
||||
GarageServer.prototype.addEntity = function (id) {
|
||||
};
|
||||
|
||||
GarageServer.prototype.removeEntity = function (id) {
|
||||
};
|
||||
|
||||
GarageServer.prototype.updateEntityState = function (id, state) {
|
||||
};
|
||||
|
||||
GarageServer.prototype.getEntities = function () {
|
||||
};
|
||||
|
||||
exports.createGarageServer = function (io, options) {
|
||||
return new GarageServer(io, options);
|
||||
};
|
||||
Reference in new issue
Block a user