示例#1
0
 def setUp(self):
     """
     First turn should be 4 hours long
     """
     turnmanager = turnmodule.TurnMgr()
     specs = [
         ((7, 0), (10, 59)),
         ((11, 0), (16, 59)),
         ((17, 0), (17, 59)),
         ((18, 0), (18, 59)),
         ((19, 0), (19, 59)),
         ((20, 0), (20, 59)),
         ((21, 0), (21, 59)),
         ((22, 0), (22, 59)),
         ((23, 0), (23, 59)),
         ((0, 0), (0, 59)),
         ((1, 0), (1, 59)),
         ((2, 0), (2, 59)),
         ((3, 0), (3, 59)),
         ((4, 0), (4, 59)),
         ((5, 0), (6, 59)),
     ]
     turnmanager.SetTurnSpecs(specs)
     self.goto = PlayheadMediator(turnmanager,
                                  [])  # init with empty story list
示例#2
0
 def setUp(self):
     turnmanager = turnmodule.TurnMgr()
     self.goto = PlayheadMediator(turnmanager,
                                  [])  # init with empty story list