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