Skip to content

Commit

Permalink
Pixi Placeables (#2479)
Browse files Browse the repository at this point in the history
PIXI Placeables
  • Loading branch information
JPMeehan authored Jan 2, 2024
1 parent 4f71f49 commit b2ec44c
Show file tree
Hide file tree
Showing 21 changed files with 1,798 additions and 670 deletions.
1 change: 1 addition & 0 deletions src/foundry/client/pixi/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "./groups";
import "./layer";
import "./layers";
import "./perception";
import "./placeable";
import "./placeables";
import "./placeables/index";
import "./sources";
Expand Down
16 changes: 8 additions & 8 deletions src/foundry/client/pixi/perception/perception-manager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ declare global {
*/
class PerceptionManager extends RenderFlagsMixin(Object) {
static RENDER_FLAGS: {
/** @defaultValue `{propagate: ["refreshLighting", "refreshVision"]}` */
/** @defaultValue `{ propagate: ["refreshLighting", "refreshVision"] }` */
initializeLighting: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["refreshLightSources"]}` */
/** @defaultValue `{ propagate: ["refreshLightSources"] }` */
refreshLighting: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{}` */
Expand All @@ -59,28 +59,28 @@ declare global {
/** @defaultValue `{}` */
refreshPrimary: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["refreshVision", "refreshTiles", "refreshLighting", "refreshLightSources", "refreshPrimary"]}` */
/** @defaultValue `{ propagate: ["refreshVision", "refreshTiles", "refreshLighting", "refreshLightSources", "refreshPrimary"] }` */
initializeVision: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["refreshVisionSources"]}` */
/** @defaultValue `{ propagate: ["refreshVisionSources"] }` */
refreshVision: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["refreshSounds"]}` */
/** @defaultValue `{ propagate: ["refreshSounds"] }` */
initializeSounds: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{}` */
refreshSounds: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["refreshLightSources", "refreshVisionSources"]}` */
/** @defaultValue `{ propagate: ["refreshLightSources", "refreshVisionSources"] }` */
refreshTiles: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{}` */
soundFadeDuration: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["initializeLighting", "initializeVision"]}` */
/** @defaultValue `{ propagate: ["initializeLighting", "initializeVision"] }` */
identifyInteriorWalls: RenderFlag<PerceptionManagerFlags>;

/** @defaultValue `{propagate: ["refreshVision"]}` */
/** @defaultValue `{ propagate: ["refreshVision"] }` */
forceUpdateFog: RenderFlag<PerceptionManagerFlags>;
};

Expand Down
Loading

0 comments on commit b2ec44c

Please sign in to comment.