X-Git-Url: https://git.xangelo.ca/?a=blobdiff_plain;f=src%2Frender%2Fland-development.ts;h=0c1fad915890fe43330a3feb61683a9a6443a117;hb=9c0287740b282030291008cd9cf204c7f1ca8958;hp=d5cc4e34baa72615a3d5fa1e99506c7ac617ff84;hpb=6e2f57a73eb2fa9a58d4304d13a688d9635b0ebd;p=browser-rts.git diff --git a/src/render/land-development.ts b/src/render/land-development.ts index d5cc4e3..0c1fad9 100644 --- a/src/render/land-development.ts +++ b/src/render/land-development.ts @@ -2,7 +2,6 @@ import { BuildQueue } from "../repository/build-queue"; import { CityWithLocation } from "../repository/city"; import { Building } from '../repository/buildings'; import _ from "lodash"; -import { topbar } from "./topbar"; function progressBar(current, max): string { const percent = Math.ceil((current/max) * 100); @@ -21,9 +20,10 @@ export function renderLandDevelopment(city: CityWithLocation, buildings: Buildin

Construction

- + - + + ${ buildings.map(building => { @@ -37,8 +37,8 @@ export function renderLandDevelopment(city: CityWithLocation, buildings: Buildin - + `; }).join("\n") @@ -74,5 +74,5 @@ export function renderLandDevelopment(city: CityWithLocation, buildings: Buildin
Free LandType Current${(city.totalSpace - city.usedSpace).toLocaleString()} (${Math.ceil(freeSpace/city.totalSpace * 100)}% available)Space Available: ${(city.totalSpace - city.usedSpace).toLocaleString()} (${Math.ceil(freeSpace/city.totalSpace * 100)}% available)Cost
`; - return html + queues + topbar(city); -} \ No newline at end of file + return html + queues; +}