示例#1
0
    def kill_auto_timer(self):
        if self._n_auto_timer == -1:
            return

        timer.kill_timer(self._n_auto_timer)

        self._n_auto_timer = -1
示例#2
0
文件: tower.py 项目: fycheung/misc
 def kill_auto_timer(self):
         if self._n_auto_timer == -1:
                 return
                 
         timer.kill_timer(self._n_auto_timer)
         
         self._n_auto_timer = -1
示例#3
0
    def __my_del__(self):
        if self._n_auto_timer != -1:
            timer.kill_timer(self._n_auto_timer)

        self._c_owner = None

        self._auto_settle_callback = None

        self._auto_settle_reward = None

        self._auto_settle_des_process = None
示例#4
0
    def auto_battle_end(self):
        if self._n_auto_timer == -1:
            return

        timer.kill_timer(self._n_auto_timer)

        self._n_auto_timer = -1

        self._b_in_auto_tower = False

        self._n_des_process = -1
示例#5
0
文件: tower.py 项目: fycheung/misc
 def __my_del__(self):
         if self._n_auto_timer != -1:
                 timer.kill_timer(self._n_auto_timer)
                       
         self._c_owner = None
         
         self._auto_settle_callback = None
 
         self._auto_settle_reward = None
         
         self._auto_settle_des_process = None
示例#6
0
文件: tower.py 项目: fycheung/misc
 def auto_battle_end(self):
         if self._n_auto_timer == -1:
                 return
         
         timer.kill_timer(self._n_auto_timer)
         
         self._n_auto_timer = -1
         
         self._b_in_auto_tower = False
         
         self._n_des_process = -1