소스 검색

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

master
Fen Dweller 5 년 전
부모
커밋
b7d1867dcb
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. +13
    -0
      presets/scenes.js

+ 13
- 0
presets/scenes.js 파일 보기

@@ -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 => {


불러오는 중...
취소
저장