private scaffoldSprite: Sprite2 = emptySprite;
private _building: Building = nullBuilding;
private _isScaffolded = true;
//TODO: Use inventory component with a tag for the provided items
private _providedItems: { [id: string]: number } = {};
get building(): Readonly<Building> {
https://github.com/trymnilsen/kingdomarchitect/blob/b709b7e6d1bb27f0fd76d52b2a77856c4e0e10d6/ts/src/game/component/building/buildingComponent.ts#L28