@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
46 lines • 937 B
TypeScript
export class AnimationClipDefinition {
/**
*
* @type {string}
*/
name: string;
/**
* Generic string tags
* @type {string[]}
*/
tags: string[];
/**
*
* @type {number}
*/
duration: number;
/**
* Notifications sorted by time, earliest first
* @type {AnimationNotification[]}
*/
notifications: AnimationNotification[];
sortNotification(): void;
/**
*
* @param {string} name
* @return {number}
*/
countNotificationsByName(name: string): number;
/**
*
* @param {string} tag
* @return {boolean}
*/
hasTag(tag: string): boolean;
/**
*
* @param {AnimationClipDefinition} other
* @returns {boolean}
*/
equals(other: AnimationClipDefinition): boolean;
/**
* @returns {number}
*/
hash(): number;
}
//# sourceMappingURL=AnimationClipDefinition.d.ts.map