mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed #57
This commit is contained in:
parent
810a74a28b
commit
39bdac0d7b
12 changed files with 118 additions and 100 deletions
|
|
@ -6,8 +6,8 @@ define([
|
|||
|
||||
function (Parent, Nc, Settings) {
|
||||
|
||||
function Player(id, physicsEngine) {
|
||||
Parent.call(this, id, physicsEngine);
|
||||
function Player(id, physicsEngine, user) {
|
||||
Parent.call(this, id, physicsEngine, user);
|
||||
|
||||
this.playerInfoView = null;
|
||||
this.playerInfoViewVisibleTimeout = null;
|
||||
|
|
@ -81,6 +81,10 @@ function (Parent, Nc, Settings) {
|
|||
}
|
||||
};
|
||||
|
||||
Player.prototype.getNickname = function() {
|
||||
return this.user.options.nickname;
|
||||
};
|
||||
|
||||
Player.prototype.render = function() {
|
||||
|
||||
// dolls are self responsible
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue