All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
656 B

// CONSTANTS
export const MODULE_NAME = "pf2e-dorako-ux";
// CLASSES
export class Avatar {
constructor(name, image) {
this.name = name;
this.image = image;
this.type = "avatar";
}
}
export class CombatantAvatar extends Avatar {
constructor(name, image) {
super(name, image);
this.type = "combatant";
}
}
export class ActorAvatar extends Avatar {
constructor(name, image) {
super(name, image);
this.type = "actor";
}
}
export class TokenAvatar extends Avatar {
constructor(name, image, scale, isSmall) {
super(name, image);
this.type = "token";
this.scale = scale;
this.isSmall = isSmall;
}
}