Add start of ship editing

This commit is contained in:
asraelite 2018-03-04 16:49:42 +00:00
parent d85338d9f2
commit b88c0eb358
18 changed files with 288 additions and 100 deletions

View file

@ -8,4 +8,9 @@ export default class GuiButton extends GuiElement {
this.text = text;
this.onclick = onclick;
}
click() {
if (this.options.draw)
this.onclick();
}
}