System.err.println( "addPreSignal: signal #" + mainSignalId + " not a main signal." );
System.exit(1);
}
// TODO: Check if id was already added
PreSignal preSignal = new PreSignal( preSignalId );
preSignal.setMainSignal( (MainSignal) signal );
preSignal.setBound( getTrack( trackId ), Game.nodeManager.getNode( nodeId ) );
signalList.add( preSignal );
}