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.

Constructor Index

 o Track()

Method Index

 o color()
 o createFigureEightTrack(Animator)
Create a Figure 8 track.
 o firstSegment()

Constructors

 o Track
  public Track()

Methods

 o createFigureEightTrack
  public static Track createFigureEightTrack(Animator a)
Create a Figure 8 track.
Parameters:
a - The animator who will receive our drawables
See Also:
FigureEightTrack
 o firstSegment
  public abstract TrackSegment firstSegment()
Returns:
the first segment on this track
 o color
  public Color color()
Returns:
The color of this track

All Packages  Class Hierarchy  This Package  Previous  Next  Index