背后载入
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user