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

28
LINES

< > BotCompany Repo | #1004845 // AI Jobs [manage jobs for the AI]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3678L/24K/81K).

!752

!include #1004681 // Concepts
!include #1004848 // AIJob

sclass Doing extends Concept {
  new Ref<AIJob> theJob;
  S programDoingIt;
  S vmID;
  bool done;
}

p {
  loadConcepts();
  autoSaveConcepts();
  
  makeBot("AI Jobs.");
  
  /*
  Concept job = cnew("AIJob");
  cset(job, "description", "Show a clapping audience");
  cset(job, "hot", true); // << enable!
  */
}

answer {
  try answer exposeMethods(s, "xlist", "xnew", "xset", "xdelete", "xget");
}

Author comment

Began life as a copy of #1004843

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, bkpbhqsukdzp, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004845
Snippet name: AI Jobs [manage jobs for the AI]
Eternal ID of this version: #1004845/1
Text MD5: 199d4635d823a7fc6074e45f34ec581d
Transpilation MD5: 87c5ef8111ca5c0238c2ae13acb2f843
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-05 21:58:29
Source code size: 491 bytes / 28 lines
Pitched / IR pitched: No / No
Views / Downloads: 646 / 1101
Referenced in: #1004847 - List AI Jobs
#1004855 - List AI Jobs [Swing]