@intuitionrobotics/thunderstorm
Version:
17 lines • 538 B
JavaScript
import { Module } from "@intuitionrobotics/ts-common";
export class ResourcesModule_Class extends Module {
relativePath;
relativePathImages;
constructor() {
super("ResourcesModule");
this.relativePath = "../../res/";
this.relativePathImages = `${this.relativePath}images/`;
}
init() {
}
getImageUrl(relativePath) {
return `${this.relativePathImages}${relativePath}`;
}
}
export const ResourcesModule = new ResourcesModule_Class();
//# sourceMappingURL=ResourcesModule.js.map