Procházet zdrojové kódy

Add a function to load every building from a city (not in the UI yet)

master
Fen Dweller před 5 roky
rodič
revize
b7d1867dcb
1 změnil soubory, kde provedl 13 přidání a 0 odebrání
  1. +13
    -0
      presets/scenes.js

+ 13
- 0
presets/scenes.js Zobrazit soubor

@@ -95,6 +95,19 @@ scenes["EVERY VIEW AAAAA"] = () => {
}


function makeViewsScene(constructor) {
return () => {
Object.keys(constructor.constructor().views).forEach(view => {
if (view.indexOf("Northwest") >= 0) {
const entity = constructor.constructor()
displayEntity(entity, view, 0, 1)
}
})
arrangeEntities(getSortedEntities());
}
}

function makeOwnerScene(owners) {
return () => {
owners.flatMap(owner => {


Načítá se…
Zrušit
Uložit