Add start of ship editing
This commit is contained in:
parent
d85338d9f2
commit
b88c0eb358
18 changed files with 288 additions and 100 deletions
|
@ -8,4 +8,9 @@ export default class GuiButton extends GuiElement {
|
|||
this.text = text;
|
||||
this.onclick = onclick;
|
||||
}
|
||||
|
||||
click() {
|
||||
if (this.options.draw)
|
||||
this.onclick();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue