def METHOD_NAME(self, now):
    if now > self.last_tick > 0 and self.is_spawned:
        elapsed = now - self.last_tick
        self.ttl -= elapsed
        if self.ttl <= 0:
            self.despawn()
    self.last_tick = now