foundryvtt-reve-de-dragon/module/tmr/carte-tmr.js

23 lines
529 B
JavaScript

import { Draconique } from "./draconique.js";
import { PixiTMR } from "./pixi-tmr.js";
export class CarteTmr extends Draconique {
constructor() {
console.log("Sprite create 1!!!!")
super();
}
type() { return '' }
match(item) { return false; }
manualMessage() { return false }
async onActorCreateOwned(actor, item) { }
code() { return 'tmr' }
img() { return 'systems/foundryvtt-reve-de-dragon/styles/img/ui/tmp_main_r1.webp' }
createSprite(pixiTMR) {
return pixiTMR.carteTmr(this.code());
}
}