!7 abstract !include once #1016461 // Katze sclass Katze2 extends Katze { transient BakedBot bot; start { imageID = #1101382; } void setIcon(S imageID) { this.imageID = imageID; revisualize(); } JComponent centerPart() { ret withMargin(40, jimage(scaleImage(2.0, loadImage2(imageID)))); } void actuallyLoadCat { dm_useLocalMechListCopies(); if (bot == null) { bot = bakedBotWithRules(mL_raw("Demo Cat Rules")); bot.useIterate(true); bot.useDiskCache(true); setCreatorTo(bot.bot, this); } catModule = runDependentWithParams(#1013936, denkmodulID := null, denkmodul := bot.bot, speakFunction := voidfunc(S s) { dm_say(s) }); setOpt(catModule, defaultText := ""); } }