Switch to TypeScript
This commit is contained in:
parent
1648b7e3d0
commit
bf71f55130
45 changed files with 754 additions and 159 deletions
9
src/gui/frame.ts
Normal file
9
src/gui/frame.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import * as gui from './index';
|
||||
import GuiElement from './element';
|
||||
|
||||
export default class GuiFrame extends GuiElement {
|
||||
constructor(x, y, w, h, options) {
|
||||
super(x, y, w, h, options);
|
||||
this.type = 'frame';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue