背后载入

This commit is contained in:
2024-07-22 16:49:11 +08:00
parent e3b5f4bd05
commit 5c961f1f37
44 changed files with 1020 additions and 109 deletions

View File

@@ -24,7 +24,12 @@ export class Main extends Root {
protected async run() {
smc.initialize = ecs.getEntity<Initialize>(Initialize);
smc.monsters = ['war','magic','heath']
smc.heros = ['war','magic','heath']
smc.heros = [
{profession:'war',speed:60},
{profession:'magic',speed:60},
{profession:'heath',speed:60},
{profession:'war',speed:60},
]
console.log("Game start");
}
protected initGui() {