mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 12:03:36 +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;
|
||
|
}
|
||
|
}
|