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

Method addAsciiNinjaButton

code/main/RenderArea.ts:22–24  ·  view source on GitHub ↗
(x1: number, x2: number, y: number, otherClass: string = "")

Source from the content-addressed store, hash-verified

20 }
21
22 public addAsciiNinjaButton(x1: number, x2: number, y: number, otherClass: string = ""): boolean{
23 return this.addTwoTags(x1, x2, y, "<span class=\"asciiNinjaButton " + otherClass + "\">", "</span>");
24 }
25
26 public addAsciiRealButton(str: string, x: number, y: number, otherClass: string = "", comment: string = "", commentBelow: boolean = false, underlinedLetter: number = -1, color: Color = null, commentCentered: boolean = true, commentRightAligned: boolean = false): boolean{
27 // Add the button

Callers 5

drawBookMethod · 0.80
drawTicTacToeBoardMethod · 0.80
loadTreasureMethod · 0.80

Calls 1

addTwoTagsMethod · 0.95

Tested by

no test coverage detected