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

Method addBold

code/main/RenderArea.ts:61–63  ·  view source on GitHub ↗
(x1: number, x2: number, y: number)

Source from the content-addressed store, hash-verified

59 }
60
61 public addBold(x1: number, x2: number, y: number): boolean{
62 return this.addTwoTags(x1, x2, y, "<b>", "</b>");
63 }
64
65 public addCheckbox(x: number, y: number, callbackCollectionWhenChecked: CallbackCollection, callbackCollectionWhenUnchecked, otherClass: string, checkedByDefault: boolean = false): void{
66 this.addTag(new RenderTag(x, "<span class=\"aroundCheckbox\"><input type=\"checkbox\" class=\"asciiCheckbox " + otherClass + "\""+ (checkedByDefault? "checked":"") +"></span>"), y);

Callers 5

drawMethod · 0.80
drawActionsMethod · 0.80
drawTitleMethod · 0.80
drawAboutMethod · 0.80

Calls 1

addTwoTagsMethod · 0.95

Tested by

no test coverage detected