Class jovial.slotCar.track.Track
All Packages Class Hierarchy This Package Previous Next Index
Class jovial.slotCar.track.Track
java.lang.Object
|
+----jovial.slotCar.track.Track
- public class Track
- extends Object
Abstract class for different kinds of track.
Track is responsible for creating the track segements representing
different track layouts.
-
Track()
-
-
color()
-
-
createFigureEightTrack(Animator)
- Create a Figure 8 track.
-
firstSegment()
-
Track
public Track()
createFigureEightTrack
public static Track createFigureEightTrack(Animator a)
- Create a Figure 8 track.
- Parameters:
- a - The animator who will receive our drawables
- See Also:
- FigureEightTrack
firstSegment
public abstract TrackSegment firstSegment()
- Returns:
- the first segment on this track
color
public Color color()
- Returns:
- The color of this track
All Packages Class Hierarchy This Package Previous Next Index