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

Method addTranslatedComment

code/main/RenderArea.ts:250–252  ·  view source on GitHub ↗
(x: number, y: number, text: string, otherClass: string)

Source from the content-addressed store, hash-verified

248 }
249
250 public addTranslatedComment(x: number, y: number, text: string, otherClass: string): boolean{
251 return this.addTag(new RenderTag(x, "<span class=\"aroundComment " + otherClass + "\"><span class=\"comment translated\">" + text + "</span></span>"), y);
252 }
253
254 public addTwoTags(x1: number, x2: number, y: number, tag1: string, tag2: string): boolean{
255 // If it fails, we return false

Callers 1

addFullCommentMethod · 0.95

Calls 1

addTagMethod · 0.95

Tested by

no test coverage detected