(renderArea: RenderArea)
| 26 | } |
| 27 | |
| 28 | public draw(renderArea: RenderArea): void{ |
| 29 | // Call the mother class draw method |
| 30 | super.draw(renderArea); |
| 31 | |
| 32 | // Draw the colors |
| 33 | for(var i = 0; i < this.colors.length; i++){ |
| 34 | this.colors[i].draw(renderArea, this.getQuest().getRealQuestPosition().plus(this.getGlobalPosition()).plus(this.getQuest().getGlobalDrawingOffset())); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | public removeColors(): void{ |
| 39 | this.colors = []; |
nothing calls this directly
no test coverage detected