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

1.0.0 • Public • Published

is-object-visible

Is the game object visible

Install

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

Usage

import { isObjectVisible } from '@open-screeps/is-object-visible';

if(isObjectVisible('someid')){
  const source = Game.getObjectById<Source>('someid')
}

Related

License

MIT

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • postcrafter