import Foundation
class DiEngager: DiSkillV2 {
private var burpsPerHour = 2
private var trgMinute = TrgMinute(0)
private var skillToEngage = "unknown"
private var draw = DrawRndDigits()
private var burpMinutes = LGFIFO<Int>()
private var pl = PlayGround()...
public class DiEngager extends DiSkillV2 {
// makes the AI burp n times per hour at random times
private int burpsPerHour = 2;
private TrgMinute trgMinute = new TrgMinute(0);
private String skillToEngage = "unknown";
private DrawRndDigits draw = new DrawRndDigits()...
public class DiEngager extends DiSkillV2 {
// makes the AI burp n times per hour at random times
private int burpsPerHour = 2;
private TrgMinute trgMinute = new TrgMinute(0);
private String skillToEngage = "unknown";
private DrawRndDigits draw = new DrawRndDigits()...
import Foundation
class DiTreater: DiSkillV2 {
private var handshake = AXHandshake()
var replies = Responder(responses: ["stop arguing", "just do it", "behave", "be a big boy and do it", "bad boy no more fussing", "i know best"])
var contextCmd = TrgArgue()
func...
public class DiTreater extends DiSkillV2 {
private AXHandshake handshake = new AXHandshake();
public Responder replies = new Responder("stop arguing", "just do it", "behave","be a big boy and do it","bad boy no more fussing","i know best");
public TrgArgue contextCmd = new...
public class DiMagic8Ball extends DiSkillV2 {
public Magic8Ball magic8Ball = new Magic8Ball();
// skill toggle params:
public AXContextCmd skillToggler = new AXContextCmd();
private Boolean isActive = true;
public DiMagic8Ball() {...
public class DiTime extends DiSkillV2 {
private PlayGround pl = new PlayGround();
@Override
public void input(String ear, String skin, String eye) {
switch(ear) {
case "what is the time":
setVerbatimAlg(4, pl.getCurrentTimeStamp())...
protected void setSimpleAlg(String... sayThis){
// based on the setVerbatimAlg method
// build a simple output algorithm to speak string by string per think cycle
// uses varargs param
this.outAlg = this.diSkillUtils.simpleVerbatimAlgorithm(sayThis)...