mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added player arrow to me fixes #76
This commit is contained in:
parent
8f2cf11e38
commit
a58beb58d1
5 changed files with 92 additions and 3 deletions
|
|
@ -28,6 +28,9 @@ function (DomController, Settings, Exception, Nc) {
|
|||
Nc.on(Nc.ns.client.view.playerInfo.update, this.onUpdatePlayerInfo, this),
|
||||
Nc.on(Nc.ns.client.view.playerInfo.remove, this.onRemovePlayerInfo, this),
|
||||
|
||||
Nc.on(Nc.ns.client.view.playerArrow.createAndAdd, this.onCreateAndAddPlayerArrow, this),
|
||||
Nc.on(Nc.ns.client.view.playerArrow.update, this.onUpdatePlayerArrow, this),
|
||||
|
||||
Nc.on(Nc.ns.client.game.zoomIn, this.onZoomIn, this),
|
||||
Nc.on(Nc.ns.client.game.zoomOut, this.onZoomOut, this),
|
||||
Nc.on(Nc.ns.client.game.zoomReset, this.onZoomReset, this),
|
||||
|
|
@ -169,6 +172,14 @@ function (DomController, Settings, Exception, Nc) {
|
|||
throw new Exception('Abstract Function onCreateAndAddPlayerInfo not overwritten');
|
||||
};
|
||||
|
||||
AbstractView.prototype.onCreateAndAddPlayerArrow = function(options) {
|
||||
throw new Exception('Abstract Function onCreateAndAddPlayerArrow not overwritten');
|
||||
};
|
||||
|
||||
AbstractView.prototype.onUpdatePlayerArrow = function(options) {
|
||||
throw new Exception('Abstract Function onUpdatePlayerArrow not overwritten');
|
||||
};
|
||||
|
||||
AbstractView.prototype.onUpdatePlayerInfo = function(playerInfo, options) {
|
||||
throw new Exception('Abstract Function onUpdatePlayerInfo not overwritten');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue