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

Method reDrawArea

code/main/Wolf.ts:104–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }
103
104 private reDrawArea(): void{
105 this.getRenderArea().drawArray(Database.getAscii("places/quests/forest/wolf/" + (this.isLookingLeft? "left":"right") + (this.isStanding? "Standing":"Running")));
106 }
107
108 private setIsLookingLeft(isLookingLeft: boolean): void{
109 // If the value is different

Callers 2

setIsLookingLeftMethod · 0.95
setIsStandingMethod · 0.95

Calls 3

drawArrayMethod · 0.80
getAsciiMethod · 0.80
getRenderAreaMethod · 0.45

Tested by

no test coverage detected