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

Method drawLava

code/main/Hell.ts:146–148  ·  view source on GitHub ↗
(x1: number, x2: number, y: number)

Source from the content-addressed store, hash-verified

144 }
145
146 private drawLava(x1: number, x2: number, y: number): void{
147 this.getRenderArea().addBackgroundColor(this.getRealQuestPosition().x + x1, this.getRealQuestPosition().x + x2, this.getRealQuestPosition().y + y, new Color(ColorType.HELL_RED_LAVA));
148 }
149
150 private thePlayerWon(): boolean{
151 // If the devil is dead, we return true

Callers 1

drawBackgroundMethod · 0.95

Calls 3

addBackgroundColorMethod · 0.80
getRealQuestPositionMethod · 0.80
getRenderAreaMethod · 0.45

Tested by

no test coverage detected