* Change the tint of the sprite object. * * @param rgbOrHexColor The color as a string, in RGB format ("128;200;255") or Hex format.
(rgbOrHexColor: string)
| 763 | * @param rgbOrHexColor The color as a string, in RGB format ("128;200;255") or Hex format. |
| 764 | */ |
| 765 | setColor(rgbOrHexColor: string): void { |
| 766 | this._renderer.setColor(rgbOrHexColor); |
| 767 | } |
| 768 | |
| 769 | /** |
| 770 | * Get the tint of the sprite object. |
no test coverage detected