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

23 lines
525 B
JavaScript
Raw Normal View History

import { Draconique } from "./draconique.js";
export class CarteTmr extends Draconique {
constructor() {
2023-05-25 20:40:59 +02:00
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) {
2023-05-25 20:40:59 +02:00
console.log("Sprite create!!!!")
return pixiTMR.carteTmr(this.code());
}
}