Search results

  1. fukurou

    java to swift 141223

    func getCurrentMonthName() -> String { switch (getMonthAsInt()){ case 1: return "january" case 2: return "february" case 3: return "march"...
  2. fukurou

    java to swift 141223

    class AXHandshake { private var trgTime:TrgTime = TrgTime() private var trgTolerance:TrgTolerance = TrgTolerance(maxRepeats: 10) private var shoutOut:AXShoutOut = AXShoutOut() private var user_name:String = "user" private var dripper:PercentDripper = PercentDripper()...
  3. fukurou

    java to swift 141223

    class AXShoutOut { private var isActive: Bool = false let handshake:Responder = Responder() func activate() { // make engage-able isActive = true } func engage(ear: String) -> Bool { if ear.isEmpty { return false }...
  4. fukurou

    java to swift 141223

    class Magic8Ball { private var questions:Responder = Responder() private var answers:Responder = Responder() func setQuestions(_ questions: Responder) { self.questions = questions } func setAnswers(_ answers: Responder) { self.answers = answers }...
  5. fukurou

    java to swift 141223

    swift responder+: func strContainsResponse(ear:String) -> Bool { var result:Bool = false for tempStr:String in responses{ if ear.contains(tempStr){ result = true break } } return result }
  6. fukurou

    java to swift 141223

    gettin an err 4: strContainsResponse I'm goin comando on the Responder class!!!
  7. fukurou

    lets dev and shit

    class GamificationP(DiSkillV2): # the grind side of the game, see GamificationN for the reward side def __init__(self, skill: DiSkillV2): self._gain: int = 1 self._skill: DiSkillV2 = skill self._axGamification: AXGamification = AXGamification() def...
  8. fukurou

    lets dev and shit

    class DiEngager(DiSkillV2): def __init__(self, burps_per_hour: int,skillToEngage:str): self._burpsPerHour = 2 if 60 > burps_per_hour > 0: self._burpsPerHour = burps_per_hour self._trgMinute: TrgMinute = TrgMinute() self._trgMinute.setMinute(0)...
  9. fukurou

    [MEDIA]

  10. fukurou

    [MEDIA]

  11. fukurou

    lets dev and shit

    class DiBlabber(DiSkillV2): def __init__(self, skill_name: str): super().__init__() # skill toggle self.__isActive: bool = True self.skillToggler: AXContextCmd = AXContextCmd() self.skillToggler.contextCommands.insert(f'toggle {skill_name}')...
  12. fukurou

    lets dev and shit

    class DiBlabber(DiSkillV2): def __init__(self, skill_name: str): super().__init__() # skill toggle self.__isActive: bool = True self.skillToggler: AXContextCmd = AXContextCmd() self.skillToggler.contextCommands.insert(f'toggle {skill_name}')...
  13. fukurou

    2 more ports on the way?

    Imports System.Collections.Generic Public Class Algorithm Private algParts As List(Of Mutatable) Public Sub New(ByVal algParts As List(Of Mutatable)) MyBase.New() Me.algParts = algParts End Sub Public Function getAlgParts() As List(Of Mutatable) Return...
  14. fukurou

    lets dev and shit

    class DiCron(DiSkillV2): def __init__(self): super().__init__() self.__sound: str = "snore" self.__cron: Cron = Cron("12:05", 40, 2) # setters def setSound(self, sound: str) -> DiCron: self.__sound = sound return self def setCron(self...
  15. fukurou

    lets dev and shit

    class DiTime(DiSkillV2): def __init__(self): super().__init__() self.__pl: PlayGround = PlayGround() # Override def input(self, ear: str, skin: str, eye: str): match ear: case "what is the time": self.setVerbatimAlg(4...
  16. fukurou

    lets dev and shit

    assssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssses and feeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeet
  17. fukurou

    lets dev and shit

    from __future__ import annotations from LivinGrimoire23 import * from AXPython import * class DiTreater(DiSkillV2): def __init__(self): super().__init__() self.__handshake: AXHandshake = AXHandshake() self.replies: Responder = Responder("stop arguing", "just do it"...
  18. fukurou

    lets dev and shit

  19. fukurou

    lets dev and shit

    @mr.meeseeks
  20. fukurou

    lets dev and shit

    class AXHandshake: def __init__(self): self.__trgTime: TrgTime = TrgTime() self.__trgTolerance: TrgTolerance = TrgTolerance(10) self.__shoutout: AXShoutOut = AXShoutOut() # default handshakes (valid reply to shout out) self.__shoutout.handshake =...
Top