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

  1. // CONSTANTS
  2. export const MODULE_NAME = "pf2e-dorako-ux";
  3. // CLASSES
  4. export class Avatar {
  5. constructor(name, image) {
  6. this.name = name;
  7. this.image = image;
  8. this.type = "avatar";
  9. }
  10. }
  11. export class CombatantAvatar extends Avatar {
  12. constructor(name, image) {
  13. super(name, image);
  14. this.type = "combatant";
  15. }
  16. }
  17. export class ActorAvatar extends Avatar {
  18. constructor(name, image) {
  19. super(name, image);
  20. this.type = "actor";
  21. }
  22. }
  23. export class TokenAvatar extends Avatar {
  24. constructor(name, image, scale, isSmall) {
  25. super(name, image);
  26. this.type = "token";
  27. this.scale = scale;
  28. this.isSmall = isSmall;
  29. }
  30. }