@open-screeps/is-object-visible
v1.0.0
Published
Is the game object visible
Downloads
3
Readme
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')
}