人生啊人生 10 місяців тому
батько
коміт
5405d3145f

+ 22 - 1
src/components/student/ThreeWorldEvent/event/TypeEvent.ts

@@ -30,8 +30,18 @@ export class TypeEvent {
      * 回调控制 下一步是否显示
      */
     public tipsBtnsDownOpenEventCallback : any = null;
+    
+    /**
+     * 记录当前的事件名字
+     */
+    public eventName : any = null;
 
-
+    /**
+     * 当前事件是否处理完成
+     * 0 - 未完成 , 1 - 处理中, 2 - 处理完成
+     */
+    public eventEnd : any = 0;
+    
     // 每次 new 出对象则会调用这个构造函数
     constructor() {
         
@@ -89,6 +99,10 @@ export class TypeEvent {
         
         this.storesObj.courseChapter3dShow.show.threeWorldMask = true;
         
+        // 进入新的流程,默认没有完成
+        this.eventName = type;
+        this.eventEnd = 0;
+        
         switch(type) {
             
             // 仿真模拟
@@ -300,6 +314,13 @@ export class TypeEvent {
 
     }
 
+
+
+
+
+
+
+
     
 
 }