jfreerails.world.common
Interface FlatTrackTemplate

All Superinterfaces:
FreerailsSerializable, java.io.Serializable
All Known Implementing Classes:
Step, TrackConfiguration

public interface FlatTrackTemplate
extends FreerailsSerializable

Defines methods that encode a track configuration as an int.

Author:
Luke

Method Summary
 boolean contains(FlatTrackTemplate ftt)
           
 int get9bitTemplate()
           
 

Method Detail

contains

boolean contains(FlatTrackTemplate ftt)
Parameters:
ftt - the FlatTrackTemplate which may be a subset of this FlatTrackTemplate.
Returns:
true if the vectors represented by this FlatTrackTemplate are a superset of the vectors of the specified FlatTrackTemplate

get9bitTemplate

int get9bitTemplate()
Returns:
the integer representing the vector(s) of this object.