Jump to content

getTileX / getTileY TypeScript signature wrong?


Recommended Posts


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?




Link to comment
Share on other sites


  • Recently Browsing   0 members

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