Added the bare-minimum .d.ts file for Typescript Interoperability

This commit is contained in:
edgarjcfn
2014-10-13 23:27:03 +02:00
parent 75e75d676c
commit 97e28ac92f
+16
View File
@@ -0,0 +1,16 @@
declare module Phaser.Plugin {
class Isometric extends Phaser.Plugin {
projector: Phaser.Plugin.Isometric.Projector;
constructor(game: Phaser.Game, parent: any);
addIsoSprite(x: number, y: number, z: number, key?: any, frame?: any, group?: Phaser.Group): Phaser.Sprite;
}
module Isometric {
class Projector {
anchor: Phaser.Point;
}
}
}