ddd
This commit is contained in:
@@ -9,7 +9,7 @@ import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ec
|
||||
import { Initialize } from "../initialize/Initialize";
|
||||
import { GameMap } from "../map/GameMap";
|
||||
import { Role } from "../role/Role";
|
||||
|
||||
import { data } from "../data/data";
|
||||
/** 游戏模块 */
|
||||
@ecs.register('SingletonModule')
|
||||
export class SingletonModuleComp extends ecs.Comp {
|
||||
@@ -19,6 +19,8 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
map: GameMap = null!;
|
||||
/** 游戏主角 */
|
||||
own: Role = null;
|
||||
/** 游戏数据 */
|
||||
data:data = null!;
|
||||
|
||||
reset() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user