private void HasBuilding(AbstractBuildingTile tile, AbstractMarketManager manager)
        {
            BlockButtons(false, false, false);

            SetButton(buildingButton, () => manager.PutScreenInFocus(manager.Screens.BuildingManageScreen));
            SetButton(foundationButton, () => manager.PutScreenInFocus(manager.Screens.FoundationManageScreen));
            SetButton(soilButton, () => manager.PutScreenInFocus(manager.Screens.SoilManageScreen));

            screenData.SetBuildingFoundationSoil(true, true, true);

            SetText(tile.Building.BuildingType.ToString(), tile.GetFoundationType().ToString(), tile.GetSoilType().ToString());
        }
Exemple #2
0
 protected override FoundationType GetType(AbstractBuildingTile tile) => tile.GetFoundationType();
        public MainScreenData GetScreenData(AbstractBuildingTile tile)
        {
            screenData.SetBuildingFoundationSoil(tile.GetBuildingType(), tile.GetFoundationType(), tile.GetSoilType());

            return(screenData);
        }