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

From ZCubes Wiki
Revision as of 16:21, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="java" line start="1" enclose="div"> public class TimedFinalEvent extends Event { //class describes an event that will be swum twice public ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}