Jump to content

getTileX / getTileY TypeScript signature wrong?


kalugny
 Share

Recommended Posts

Hi,

The TypeScript signature of the functions TilemapLayer.getTileX and TilemapLayer.getTileY is:

getTileX(x: number): Phaser.Tile;getTileY(y: number): Phaser.Tile;

But from the documentation and the code in phaser.js it seems like it should return a number.

 

Am I right in guessing this is a mistake?

 

Thanks,

   Yuval

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...