Skip to content

SeeThroughLook beta ​

Interface of @v12-engine/client

ts
export interface SeeThroughLook extends Omit<MapSeeThrough, 'who'>

What is seen through, and for whom, as the game says (GameView.world.seeThrough): the map's say (MapSeeThrough) is over it. who may be code: whether a unit is one to see

Members ​

who ​

ts
who?: MapSeeThrough['who'] | ((unit: SeeThroughUnit) => boolean);

Whose units: as the map's who, or code that says of each unit whether it is one