Interface Participant


public interface Participant
Author:
Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
  • Method Summary

    Modifier and Type Method Description
    void takeStep​(int stepIndex)
    Describes the process for a participant in a legged race to take the stepIndex'th step in the race.
  • Method Details

    • takeStep

      void takeStep​(int stepIndex)
      Describes the process for a participant in a legged race to take the stepIndex'th step in the race. So, if the stepIndex was 3, this would represent the third step in the race for the participant.
      Parameters:
      stepIndex - the nth step in the legged race.