CS111 TickBuggle Contract

Instances of the TickBuggle class are buggles that handle two additional instance methods:

public void tick ()
Performs the tick action of this buggle. By default, this action is to do nothing. A non-trivial action is specified by overriding this method in a subclass of TickBuggle.

public void tick (int n)
Performs the tick action of this buggle n times. This is a handy way to repeat a buggle action a fixed number of times without using explicit recursion or iteration.