@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
38 lines • 808 B
TypeScript
export class TerrainLayerDescription {
static from({ diffuse, size }: {
diffuse: any;
size: any;
}): TerrainLayerDescription;
/**
* URL to diffuse texture
* @type {string}
*/
diffuse: string;
/**
*
* @type {Vector2}
*/
size: Vector2;
hash(): number;
/**
*
* @param {TerrainLayerDescription} other
* @returns {boolean}
*/
equals(other: TerrainLayerDescription): boolean;
toJSON(): {
diffuse: string;
size: {
x: number;
y: number;
};
};
toString(): string;
/**
*
* @type {boolean}
*/
isTerrainLayerDescription: boolean;
}
import Vector2 from "../../core/geom/Vector2.js";
//# sourceMappingURL=TerrainLayerDescription.d.ts.map