001package jmri.jmrit.ussctc;
002
003import jmri.jmrit.Sound;
004
005/**
006 * Derive a CTC machine bell from the computer's speakers
007 *
008 * @author Bob Jacobsen Copyright (C) 2007, 2017, 2021
009 */
010public class ComputerBell implements Bell {
011
012    public ComputerBell(Sound sound) {
013        this.sound = sound;
014    }
015
016    Sound sound = null;
017
018    @Override
019    public void ring() {
020        sound.play();
021    }
022
023}