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

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