Interface Acrobat

All Known Implementing Classes:
Dog

public interface Acrobat

This interface defines the methods that a class must implement in order to be considered an Acrobat.


Method Summary
 void clap(int k)
          Clap as instructed.
 int getActionCount()
          Tell the caller how many things we've done so far.
 void twirl(int k)
          Twirl around as instructed.
 

Method Detail

twirl

public void twirl(int k)
Twirl around as instructed.

Parameters:
k - the number of times to twirl

clap

public void clap(int k)
Clap as instructed.

Parameters:
k - the number of times to clap

getActionCount

public int getActionCount()
Tell the caller how many things we've done so far.

Returns:
the number of claps and twirls to date