Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1023154 // Combined Bot - central/single voice interface to all loaded DynAttractorBots

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (12975L/67K).

!7

cmodule CombinedBot > DynAttractorBot {
  class CombinedBot2 > SingleAttractorBot {
    void process(S input) {
      print("Have " + n2(dm_attractorBotModules(), "bot module"));
      dm_sendToAllAttractorBots(input, vf<S> say);
    }
  }
    
  AttractorBot makeBot() { ret new CombinedBot2; }
  
  start {
    activateOnOutput = false;
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023154
Snippet name: Combined Bot - central/single voice interface to all loaded DynAttractorBots
Eternal ID of this version: #1023154/15
Text MD5: 4c2350669dde7b61f3b37cd78399b665
Transpilation MD5: 7938be0922a24f2395e6d5b1edd20ee3
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 17:40:25
Source code size: 363 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 270 / 2065
Version history: 14 change(s)
Referenced in: [show references]