Render the object, draws a tile by default, automatically called each frame, sorted by renderOrder
()
| 369 | |
| 370 | /** Render the object, draws a tile by default, automatically called each frame, sorted by renderOrder */ |
| 371 | render() |
| 372 | { |
| 373 | // default object render |
| 374 | drawTile(this.pos, this.drawSize || this.size, this.tileInfo, this.color, this.angle, this.mirror, this.additiveColor); |
| 375 | } |
| 376 | |
| 377 | /** Destroy this object, destroy its children, detach its parent, and mark it for removal |
| 378 | * @param {boolean} [immediate] - should attached effects be allowed to die off? */ |
nothing calls this directly
no test coverage detected