This commit is contained in:
YHH
2020-06-28 08:38:22 +08:00
parent d7385654ef
commit a63d8598d8
12 changed files with 440 additions and 437 deletions

View File

@@ -7,6 +7,8 @@ abstract class RenderableComponent extends Component implements IRenderable {
protected _bounds: Rectangle = new Rectangle();
protected _localOffset: Vector2 = Vector2.zero;
public color: number = 0x000000;
public get width(){
return this.getWidth();
}