improve rendering
This commit is contained in:
parent
c47ad92f21
commit
8a059b92d5
30 changed files with 286 additions and 260 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue