Added new art, also added stairs and walls to building menu

This commit is contained in:
2026-04-12 13:22:07 +01:00
parent 2222294a79
commit 56a432ad66
16 changed files with 781 additions and 7 deletions

View File

@@ -7,13 +7,13 @@ namespace Fruitomation.Game
{
private class BuildingInfo
{
public BuildingInfo(BuildingBase b, RectTransform rt)
public BuildingInfo(Building b, RectTransform rt)
{
Building = b;
Rect = rt;
}
public BuildingBase Building { get; }
public Building Building { get; }
public RectTransform Rect { get; }
}
@@ -26,7 +26,7 @@ namespace Fruitomation.Game
GameObject go = Instantiate(prefab, transform);
BuildingInfo info = new
(
go.GetComponent<BuildingBase>(),
go.GetComponent<Building>(),
go.GetComponent<RectTransform>()
);