コード例 #1
0
 public void Setup()
 {
     messageTranslator = new MessageTranslator(new WordTranslator(new CharacterTranslator()));
       sceneGenerator = new SceneGenerator(messageTranslator, new MorseFrameBuilder(new LightSectionBuilder(), new RumbleSectionBuilder()));
 }
コード例 #2
0
 public void Setup()
 {
     wordTranslator = new WordTranslator(new CharacterTranslator());
       translator = new MessageTranslator(wordTranslator);
 }
コード例 #3
0
 public SceneGenerator(MessageTranslator messageTranslator, MorseFrameBuilder frameBuilder)
 {
     this.messageTranslator = messageTranslator;
       this.frameBuilder = frameBuilder;
 }