Exemple #1
0
    def __init__(self, game):
        super().__init__(game)
        self.enterAmbushRect = gc.Rect(330, 252, 87, 64)
        self.leaveAmbushRect = gc.Rect(238, 252, 83, 64)

        self.meetAct = Action.ClickAction(
            game, Template.Template("迎击", "./Subchapter/Meet.png"))
        self.weighAnchorAct = Action.ClickAction(
            game, Template.Template("出击", "./Subchapter/WeighAnchor.png"))
Exemple #2
0
 def __init__(self, game):
     super().__init__(game)
     self.ttcAct = Action.ClickAction(
         game,
         Template.Template("点击继续", "./Battle/TTC.png"),
         0.85,
         specifiedRect=gc.Rect(50, 420, 850, 130))
     self.ttcAct2 = Action.ClickAction(
         game,
         Template.Template("点击继续2", "./Battle/TTC2.png"),
         specifiedRect=gc.Rect(50, 420, 850, 130))
     self.performanceAct = Action.ClickAction(
         game, Template.Template("性能", "./Battle/Performance.png"))
     self.confirmAct = Action.ClickAction(
         game, Template.Template("确认", "./Battle/Confirm.png"))
Exemple #3
0
    def __init__(self, game):
        super().__init__(game)
        self.backAct = Action.ClickAction(
            game, Template.Template("返回", "./Precombat/Back.png"))
        self.exerciseAct = Action.ClickAction(
            game, Template.Template("演习", "./Precombat/Exercise.png"))
        self.goNowAct = Action.ClickAction(
            game, Template.Template("立刻前往", "./Precombat/GoNow.png"))
        self.goNowAct2 = Action.ClickAction(
            game, Template.Template("立刻前往2", "./Precombat/GoNow2.png"))

        self.chapterTemplList = []
        self.chapterTemplList.append(
            Template.Template("第1章", "./Precombat/C01.png"))
        self.chapterTemplList.append(
            Template.Template("第2章", "./Precombat/C02.png"))
        self.chapterTemplList.append(
            Template.Template("第3章", "./Precombat/C03.png"))
        self.chapterTemplList.append(
            Template.Template("第4章", "./Precombat/C04.png"))
        self.chapterTemplList.append(
            Template.Template("第5章", "./Precombat/C05.png"))
        self.chapterTemplList.append(
            Template.Template("第6章", "./Precombat/C06.png"))
        self.chapterTemplList.append(
            Template.Template("第7章", "./Precombat/C07.png"))
        self.chapterTemplList.append(
            Template.Template("第8章", "./Precombat/C08.png"))
        self.chapterTemplList.append(
            Template.Template("第9章", "./Precombat/C09.png"))
        self.chapterTemplList.append(
            Template.Template("第10章", "./Precombat/C10.png"))
        self.chapterTemplList.append(
            Template.Template("第11章", "./Precombat/C11.png"))
        self.chapterTemplList.append(
            Template.Template("第12章", "./Precombat/C12.png"))

        self.prevPageRect = gc.Rect(40, 300, 25, 35)
        self.nextPageRect = gc.Rect(910, 300, 25, 35)

        self.subcapterRectDict = {}
        self.subcapterRectDict[100 * 1 + 1] = gc.Rect(160, 376, 114, 24)
        self.subcapterRectDict[100 * 3 + 4] = gc.Rect(507, 306, 137, 25)
Exemple #4
0
 def __init__(self, game):
     super().__init__(game)
     self.backAct = Action.ClickAction(
         game, Template.Template("返回", "./Exercise/Back.png"))
     self.operationAct = Action.ClickAction(
         game,
         Template.Template("演习", "./Exercise/Operation.png"),
         specifiedRect=gc.Rect(50, 128, 160, 228))
     self.startExerciseAct = Action.ClickAction(
         game, Template.Template("开始演习", "./Exercise/StartExercise.png"))
     self.weighAnchorAct = Action.ClickAction(
         game, Template.Template("出击", "./Exercise/WeighAnchor.png"))
     self.ttcAct = Action.ClickAction(
         game,
         Template.Template("点击继续", "./Exercise/TTC.png"),
         0.85,
         specifiedRect=gc.Rect(50, 420, 850, 130))
     self.ttcAct2 = Action.ClickAction(
         game,
         Template.Template("点击继续2", "./Exercise/TTC2.png"),
         specifiedRect=gc.Rect(50, 420, 850, 130))
     self.confirmAct = Action.ClickAction(
         game, Template.Template("确认", "./Exercise/Confirm.png"))
Exemple #5
0
 def __init__(self, game):
     super().__init__(game)
     self.weighAnchorAct = Action.ClickAction(
         game, Template.Template("出击", "./Main/WeighAnchor.png"))
     self.maidAct = Action.ClickAction(
         game, Template.Template("演习作战", "./Main/Maid.png"))
Exemple #6
0
 def __init__(self, game):
     super().__init__(game)
     self.advancedAct = Action.ClickAction(
         game, Template.Template("高级演习", "./Events/Advanced.png"))