def METHOD_NAME(self, now):
    if now > self.last_tick > 0:
        elapsed = now - self.last_tick
        gameobject = self.gameobject_instance
        if gameobject:
            if not gameobject.is_spawned and gameobject.initialized:
                self._update_respawn(elapsed)
        else:
            self._update_respawn(elapsed)
    self.last_tick = now