mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2026-02-14 12:22:42 +00:00
Folder structure
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { _decorator, Component, Node } from "cc";
|
||||
|
||||
import { GameRunner } from "./GameRunner";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass("Menu")
|
||||
export class Menu extends Component {
|
||||
public start(): void {
|
||||
public async start(): Promise<void> {
|
||||
GameRunner.Instance.playGame();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user