mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added menuBar
This commit is contained in:
parent
d7025ffd67
commit
e452399caf
5 changed files with 53 additions and 50 deletions
|
|
@ -210,11 +210,6 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
|
|||
GameController.prototype.onUpdateStats = function(options) {
|
||||
var player = this.players[options.playerId];
|
||||
player.setStats(options.stats);
|
||||
|
||||
// FIXME: move to canvas later
|
||||
if(player == this.me) {
|
||||
DomController.setHealth(player.stats.health);
|
||||
}
|
||||
};
|
||||
|
||||
GameController.prototype.onPlayerKill = function(options) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue