import { Guide } from "../../game/data/module/GuideData"; /** * 新手引导模块 */ export default class GuideSystem { private guides: Guide[]; private crtStep: number; private crtGuide: Guide; public open(id: number) { this.guides = gData.guideData.getGuidesByID(id); this.crtStep = -1; this.nextStep(); } private nextStep() { this.crtStep++; this.crtGuide = this.guides[this.crtStep]; } }