import { Component } from "../../hierarchy_object/Component"; import type { ComponentConstructor } from "../../hierarchy_object/ComponentConstructor"; /** * controller for 2D Character * * Simple animation controller that handles idle and walk status * * `SpriteAtlasAnimator` must have animation * "up_idle", "up_walk", "down_idle", "down_walk", "left_idle", "left_walk", "right_idle", "right_walk" * for this component to function properly. * * * disallow multiple component * * require components: `Directable`, `SpriteAtlasAnimator` */ export declare class MovementAnimationController extends Component { readonly disallowMultipleComponent: boolean; readonly requiredComponents: ComponentConstructor[]; private _directable; private _spriteAtlasAnimator; private _lastDirection; private _lastIsMoving; awake(): void; update(): void; }