mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-27 11:18:04 +08:00
12 lines
248 B
JavaScript
12 lines
248 B
JavaScript
var Entity = require('./entity');
|
|
|
|
exports = module.exports = Player;
|
|
|
|
function Player (client) {
|
|
Entity.call(this);
|
|
this.client = client;
|
|
this.id = client.id;
|
|
this.inputs = [];
|
|
}
|
|
|
|
Player.prototype = Object.create(Entity.prototype); |