Réduction de l'espace des TMR
This commit is contained in:
@ -1,12 +1,8 @@
|
||||
import { tmrConstants, tmrColors, tmrTokenZIndex } from "../tmr-constants.js";
|
||||
import { tmrColors, tmrTokenZIndex } from "../tmr-constants.js";
|
||||
import { Draconique } from "./draconique.js";
|
||||
|
||||
export class DemiReve extends Draconique {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
type() { return '' }
|
||||
match(item) { return false; }
|
||||
manualMessage() { return false }
|
||||
@ -18,9 +14,9 @@ export class DemiReve extends Draconique {
|
||||
|
||||
createSprite(pixiTMR) {
|
||||
const sprite = pixiTMR.sprite(this.code(), {
|
||||
color: tmrColors.demireve,
|
||||
tint: tmrColors.demireve,
|
||||
zIndex: tmrTokenZIndex.demireve,
|
||||
taille: (tmrConstants.full * 0.7)
|
||||
taille: () => pixiTMR.sizes.twoThird
|
||||
});
|
||||
pixiTMR.animate(pixiApp => pixiApp.ticker.add((delta) => sprite.rotation -= 0.01 * delta));
|
||||
return sprite;
|
||||
|
Reference in New Issue
Block a user