game_actor_animation_track_actor_animation_track.js

/**
 * @module ActorAnimationTrack
 * @fileoverview Contains ActorAnimationTrack class.
 */

/**
 * @class ActorAnimationTrack
 * @abstract
 * Base class for actor animation tracks.
 */
class ActorAnimationTrack {
    /**
     * Create a new actor animation track.
     * @constructor
     */
    constructor() {}

    /**
     * Update the animation track.
     * @param {Actor} actor Actor to apply changes to
     * @param {number} progress Percentage of animation complete (0 - 1)
     */
    update(actor, progress) {}
}

export default ActorAnimationTrack;