improve rendering

This commit is contained in:
Asraelite 2016-03-29 21:21:01 +01:00
parent c47ad92f21
commit 8a059b92d5
30 changed files with 286 additions and 260 deletions

View file

@ -0,0 +1,17 @@
GUI.prototype.Weapons = class {
constructor(gui) {
this.gui = gui;
this.element = this.gui.query('#weapons');
this.weaponElements = [];
this.currentWeapon = 0;
}
update() {
}
switchWeapon(slot) {
this.currentWeapon = 0;
}
}