mirror of https://github.com/Hypfer/Valetudo.git
27 lines
556 B
JavaScript
27 lines
556 B
JavaScript
const MapEntity = require("./MapEntity");
|
|
|
|
class PathMapEntity extends MapEntity {
|
|
/**
|
|
*
|
|
* @param {object} options
|
|
* @param {Array<number>} options.points
|
|
* @param {PathMapEntityType} options.type
|
|
* @param {object} [options.metaData]
|
|
*/
|
|
constructor(options) {
|
|
super(options);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @typedef {string} PathMapEntityType
|
|
* @enum {string}
|
|
*
|
|
*/
|
|
PathMapEntity.TYPE = Object.freeze({
|
|
PATH: "path",
|
|
PREDICTED_PATH: "predicted_path"
|
|
});
|
|
|
|
module.exports = PathMapEntity;
|