More building work

This commit is contained in:
2024-03-13 09:57:10 -05:00
parent 4718108407
commit 4f0f97b91d
10 changed files with 43 additions and 31 deletions

View File

@@ -29,7 +29,7 @@ func change_building(data: BuildingBase) -> void:
layer_info[Constants.TilemapLayers.BUILDINGS] = data
func get_resource() -> GameResource:
return layer_info[Constants.TilemapLayerss.ENVIRONMENT] as GameResource
return layer_info[Constants.TilemapLayers.ENVIRONMENT] as GameResource
func has_resource() -> bool:
return has_layer(Constants.TilemapLayers.ENVIRONMENT)