(str: string)
| 12 | } |
| 13 | |
| 14 | public draw(str: string): string{ |
| 15 | // Instead of adding ourselves, we delete one character under the x position and then add the "<" |
| 16 | str = str.replaceAt(this.getX(), "&"); |
| 17 | return str.addAt(this.getX()+1, "lt;"); |
| 18 | } |
| 19 | } |