getText returns a string, not an Object.

This commit is contained in:
Will Huxtable 2014-05-19 18:01:37 +01:00
parent c9656e48de
commit 6291f6de2c

2
build/phaser.d.ts vendored
View file

@ -1317,7 +1317,7 @@ declare module Phaser {
getPhysicsData(key: string, object?: string, fixtureKey?: string): Object;
getSound(key: string): Phaser.Sound;
getSoundData(key: string): Object;
getText(key: string): Object;
getText(key: string): string;
getTextKeys(): string[];
getTexture(key: string): Phaser.RenderTexture;
getTextureFrame(key: string): Phaser.Frame;