Add timer class, use it for bubbles and attack limiting