public void Setup() { messageTranslator = new MessageTranslator(new WordTranslator(new CharacterTranslator())); sceneGenerator = new SceneGenerator(messageTranslator, new MorseFrameBuilder(new LightSectionBuilder(), new RumbleSectionBuilder())); }
public void Setup() { wordTranslator = new WordTranslator(new CharacterTranslator()); translator = new MessageTranslator(wordTranslator); }
public SceneGenerator(MessageTranslator messageTranslator, MorseFrameBuilder frameBuilder) { this.messageTranslator = messageTranslator; this.frameBuilder = frameBuilder; }