@wayward/types 2.11.2-beta.dev.20220106.1 → 2.11.2-beta.dev.20220107.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,7 +27,7 @@ import type { ILeftOverTile } from "game/tile/Terrains";
|
|
|
27
27
|
import type TileEvent from "game/tile/TileEvent";
|
|
28
28
|
import type { ISerializedTranslation } from "language/ITranslation";
|
|
29
29
|
import type { IModdable } from "mod/ModRegistry";
|
|
30
|
-
import type { IRGB } from "utilities/Color";
|
|
30
|
+
import type { IColorFul, IRGB } from "utilities/Color";
|
|
31
31
|
import type { IVector3 } from "utilities/math/IVector";
|
|
32
32
|
export interface ITerrainDescription extends IModdable {
|
|
33
33
|
passable?: boolean;
|
|
@@ -201,16 +201,13 @@ export interface ITemplateDoodad {
|
|
|
201
201
|
type: DoodadType;
|
|
202
202
|
growingStages: GrowingStage[];
|
|
203
203
|
}
|
|
204
|
-
export interface IOverlayInfo {
|
|
204
|
+
export interface IOverlayInfo extends Partial<IColorFul> {
|
|
205
205
|
type: OverlayType;
|
|
206
206
|
size?: number;
|
|
207
207
|
offsetX?: number;
|
|
208
208
|
offsetY?: number;
|
|
209
209
|
spriteOffsetX?: number;
|
|
210
210
|
spriteOffsetY?: number;
|
|
211
|
-
red?: number;
|
|
212
|
-
green?: number;
|
|
213
|
-
blue?: number;
|
|
214
211
|
alpha?: number;
|
|
215
212
|
}
|
|
216
213
|
export declare enum OverlayType {
|
package/package.json
CHANGED