mirror of
https://github.com/photonstorm/phaser
synced 2024-12-05 02:50:55 +00:00
18 lines
694 B
TypeScript
18 lines
694 B
TypeScript
/// <reference path="../../Game.d.ts" />
|
|
module Phaser {
|
|
class FrameData {
|
|
constructor();
|
|
private _frames;
|
|
private _frameNames;
|
|
public total : number;
|
|
public addFrame(frame: Frame): Frame;
|
|
public getFrame(index: number): Frame;
|
|
public getFrameByName(name: string): Frame;
|
|
public checkFrameName(name: string): bool;
|
|
public getFrameRange(start: number, end: number, output?: Frame[]): Frame[];
|
|
public getFrameIndexes(output?: number[]): number[];
|
|
public getFrameIndexesByName(input: string[]): number[];
|
|
public getAllFrames(): Frame[];
|
|
public getFrames(range: number[]): Frame[];
|
|
}
|
|
}
|