This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-10-31 02:34:12 +08:00
parent 94fa409ed7
commit e59c5640d7
324 changed files with 1388 additions and 407 deletions

View File

@@ -1,4 +1,4 @@
import { _decorator } from "cc";
import { _decorator,Node } from "cc";
import GBaseMode from "../GBaseMode";
import { GTactical } from "../entity/GTactical";
import { Prefab } from "cc";
@@ -31,6 +31,9 @@ export default class GPVPMode extends GBaseMode<{}>{
@property(Prefab)
rolePrefab: Prefab = null;
@property(Node)
objects: Node = null;
//玩家信息
playerInfo: GPVPModePlayerInfo;
@@ -47,6 +50,10 @@ export default class GPVPMode extends GBaseMode<{}>{
//敌方位置
enemyPos: Vec2 = new Vec2(400,0);
get scene():Node{
return this.objects;
}
onLoad(){
super.onLoad();
}