foundryvtt-dnd5e-types
Version:
TypeScript type definitions for the DnD5e system in Foundry VTT
23 lines (19 loc) • 410 B
TypeScript
import { Token } from '../foundry';
import { Actor5e } from './actor5e';
/**
* The DnD5e Token5e class
*/
export declare class Token5e extends Token {
/**
* Get the token's actor
*/
getActor(): Actor5e | null;
/**
* Get the token's position
*/
getPosition(): { x: number; y: number };
/**
* Get the token's dimensions
*/
getDimensions(): { width: number; height: number };
}