@open-screeps/is-room-visible
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

is-room-visible

Check whether a room is currently visible

Install

$ npm install @open-screeps/is-room-visible

Usage

import { isRoomVisible } from '@open-screeps/is-room-visible';

const observerTargets = Object.keys(Memory.rooms).filter(r => isRoomVisible(r));

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @open-screeps/is-room-visible

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • postcrafter