MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / addEnigma

Method addEnigma

code/main/ATree.ts:38–40  ·  view source on GitHub ↗
(enigmaAnswer: EnigmaAnswer, callbackCollection: CallbackCollection, otherClass: string, wrongClass: string = "", wrongMessage: string = "Wrong")

Source from the content-addressed store, hash-verified

36
37 // Private methods
38 private addEnigma(enigmaAnswer: EnigmaAnswer, callbackCollection: CallbackCollection, otherClass: string, wrongClass: string = "", wrongMessage: string = "Wrong"): void{
39 this.renderArea.addEnigma(21, 41, 24, enigmaAnswer, callbackCollection, otherClass, wrongClass, wrongMessage);
40 }
41
42 private drawSpeech(normal: string, translated: string, x2: number = 59): void{
43 this.renderArea.drawSpeech(normal, 4, 38, x2, "aTreeSpeech", translated);

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected