Merge pull request #834 from WillHuxtable/dev

getText returns a string, not an Object.
This commit is contained in:
Richard Davey 2014-05-19 18:24:02 +01:00
commit 2edcd1f7a6

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;