mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
21 lines
629 B
TypeScript
21 lines
629 B
TypeScript
|
/// <reference path="../Game.d.ts" />
|
||
|
module Phaser {
|
||
|
class RequestAnimationFrame {
|
||
|
constructor(callback, callbackContext);
|
||
|
private _callback;
|
||
|
private _callbackContext;
|
||
|
public setCallback(callback): void;
|
||
|
private _timeOutID;
|
||
|
private _isSetTimeOut;
|
||
|
public isUsingSetTimeOut(): bool;
|
||
|
public isUsingRAF(): bool;
|
||
|
public lastTime: number;
|
||
|
public currentTime: number;
|
||
|
public isRunning: bool;
|
||
|
public start(callback?): void;
|
||
|
public stop(): void;
|
||
|
public RAFUpdate(): void;
|
||
|
public SetTimeoutUpdate(): void;
|
||
|
}
|
||
|
}
|