mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-09-10 11:40:34 +08:00
Updated GarageServer.IO API calls to support client side prediction for entities - #20
This commit is contained in:
@@ -3,7 +3,7 @@ var entity = require('./entity');
|
||||
exports = module.exports = Player;
|
||||
|
||||
function Player (socket, maxHistorySecondBuffer) {
|
||||
entity.call(this, socket.id, maxHistorySecondBuffer);
|
||||
entity.call(this, socket.id, null, null, maxHistorySecondBuffer);
|
||||
this.socket = socket;
|
||||
this.inputs = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user