/** * Created by Christophe on 01/02/2017. */ import { SpritesGroup } from "../display/sprites-group.class"; import { IDisplayable } from "../interfaces/IDisplayable.interface"; import { Dispatcher } from "../common/dispatcher.class"; import { ExtendedSpritesGroup } from "../display/extended-sprites-group.class"; import { GameUnitObject } from "../global-objects/game-unit-object.class"; import { Actionable } from "../script/interfaces/actionable.interface"; export declare class Sequence extends Dispatcher implements Actionable { group: SpritesGroup | ExtendedSpritesGroup | GameUnitObject; states: IDisplayable[]; loopType: string; static LOOP_TYPE_CIRCLE: string; static LOOP_TYPE_RESET: string; private _direction; private _currentIndex; constructor(group: SpritesGroup | ExtendedSpritesGroup | GameUnitObject, states?: IDisplayable[], loopType?: string); private _isIndexValid(index); hide(): void; displayAtIndex(index: number, forced?: boolean): boolean; reverse(): void; hasNext(): boolean; displayNext(forced?: boolean): boolean; hasPrevious(): boolean; displayPrevious(forced?: boolean): boolean; reset(): void; resetIndex(): void; executeAction(actionName: string, args: string[]): void; }