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

Method draw

code/main/YourselfSentence.ts:29–31  ·  view source on GitHub ↗
(renderArea: RenderArea)

Source from the content-addressed store, hash-verified

27
28 // Public methods
29 public draw(renderArea: RenderArea): void{
30 renderArea.drawString(this.text, this.quest.getRealQuestPosition().x + this.quest.getGlobalDrawingOffset().x + this.position.x, this.quest.getRealQuestPosition().y + this.quest.getGlobalDrawingOffset().y + this.position.y);
31 }
32
33 public update(): boolean{
34 if(this.isGoingRight){

Callers

nothing calls this directly

Calls 3

drawStringMethod · 0.80
getRealQuestPositionMethod · 0.80

Tested by

no test coverage detected