Yurttas/PL/OOL/Java/F/09/02/01/00/TimedFinalEvent.java

From ZCubes Wiki
Jump to navigation Jump to search
 1public class TimedFinalEvent extends Event {
 2
 3    //class describes an event that will be swum twice
 4    public TimedFinalEvent(String filename, int lanes) {
 5        super(filename, lanes);
 6    }
 7    //return StraightSeeding class
 8    public  Seeding getSeeding() {
 9        return new StraightSeeding(swimmers, numLanes);
10    }
11    public boolean isPrelim() {
12        return false;
13    }
14    public boolean isFinal() {
15        return false;
16    }
17    public boolean isTimedFinal() {
18        return true;
19    }
20
21}