PlayedFoliageOverlay beta
Class of @v12-engine/editor
ts
export declare class PlayedFoliageOverlayThe overlays of grass (FoliageOverlay) over the ground of the game played here, as its rules have it now: laid again four times a second while one is on and the game is played in this page; taken off as they are turned off or the game stops
Members
constructor
ts
constructor(host: {
readonly played?: GameClient;
readonly overlays: ReadonlySet<string>;
});Constructs a new instance of the PlayedFoliageOverlay class
counts
ts
counts: FoliageOverlayCounts | undefined;What the overlays found last, of the game played here: none while they are not laid there
lay
ts
lay(): void;Lays them over the game's ground once, as its world is now
takeOff
ts
takeOff(): void;Takes them off the game's ground, and stops
update
ts
update(): void;Starts or stops laying them, as the overlays on and the game played say: after either changed