chore: get/set

This commit is contained in:
cha0s 2021-03-14 05:48:38 -05:00
parent 6bdbe70fec
commit 05f553796f

View File

@ -72,6 +72,22 @@ export default class Renderable extends decorate(Class) {
};
}
get scaleX() {
return this.internal.scale.x;
}
set scaleX(x) {
this.internal.scale.x = x;
}
get scaleY() {
return this.internal.scale.y;
}
set scaleY(y) {
this.internal.scale.y = y;
}
get visible() {
return this.internal.visible;
}