export class Renderable { get alpha() { return this.internal.alpha; } set alpha(alpha) { this.internal.alpha = alpha; } destroy() { this.internal.destroy(); } get position() { return [this.internal.x, this.internal.y]; } set position(position) { this.internal.x = position[0]; this.internal.y = position[1]; } get rotation() { return this.internal.rotation; } set rotation(rotation) { this.internal.rotation = rotation; } get visible() { return this.internal.visible; } set visible(isVisible) { this.internal.visible = isVisible; } get x() { return this.internal.x; } set x(x) { this.internal.x = x; } get y() { return this.internal.y; } set y(y) { this.internal.y = y; } }