(renderArea: RenderArea, pos: Pos, width: number)
| 21 | |
| 22 | // Public methods |
| 23 | public draw(renderArea: RenderArea, pos: Pos, width: number): void{ |
| 24 | if(this.left != null){ |
| 25 | renderArea.drawString(this.left, pos.x, pos.y); |
| 26 | if(this.bold) renderArea.addBold(pos.x, pos.x + this.left.length, pos.y); |
| 27 | } |
| 28 | if(this.right != null){ |
| 29 | renderArea.drawString(this.right, pos.x + width - this.right.length, pos.y); |
| 30 | if(this.bold) renderArea.addBold(pos.x + width - this.right.length, width, pos.y); |
| 31 | } |
| 32 | } |
| 33 | } |
nothing calls this directly
no test coverage detected