Browse Source

主要角色

dev
刘向辉 3 years ago
parent
commit
e121ab2e63
  1. 8
      src/app/babylon/model/data/mark/mark-property.ts
  2. 3
      src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts

8
src/app/babylon/model/data/mark/mark-property.ts

@ -30,12 +30,18 @@ export class MarkProperty {
*/
description: string;
/**
*
*/
isMainCharacter: boolean = false;
constructor(taskType?: MarkTask, institution: string = "未命名", index: number = 1, task: string = "待命", description?: string) {
this.taskType = taskType
this.institution = institution
this.index = index
this.task = task
this.description = description
this.description = description;
this.isMainCharacter = false;
}

3
src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts

@ -20,7 +20,6 @@ import { GizmoTool } from "../../tool/gizmo-tool";
import { TsTool } from "../../tool/ts-tool";
import { BuildingWindow } from "../building-window/building-window";
import { FacilityWindow } from "../facility-window/facility-window";
import { UIBase } from "../window-base/ui-base";
import { FacilityInfoUIItem } from "./facilityinfo-ui-item";
@ -464,12 +463,14 @@ export class FacilityInfoInSceneWindow extends UIBase {
if (eventData.pickInfo.hit && !SceneManager.s_isPointerDrag) {
instance.doubleClickModle(eventData.pickInfo);
}
break;
}
}
/**
*
*/

Loading…
Cancel
Save