blob: 888e9eb86efb00bee09ffb358db31294612ff575 [file] [log] [blame] [raw]
package mods.railcraft.api.tracks;
/**
* Tracks that can emit a redstone signal should implement
* this interface.
*
* For example a detector track.
*
* A track cannot implement both ITrackPowered and ITrackEmitter.
*
* @author CovertJaguar <http://www.railcraft.info>
*/
public interface ITrackEmitter extends ITrackInstance
{
/**
* Return the redstone output of the track.
*
* @return true if powered
*/
public int getPowerOutput();
}