We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Tile.right
Tile.bottom
1 parent 234c070 commit 377d27cCopy full SHA for 377d27c
1 file changed
src/tilemaps/Tile.js
@@ -104,6 +104,24 @@ var Tile = new Class({
104
*/
105
this.height = height;
106
107
+ /**
108
+ * The right of the tile in pixels.
109
+ *
110
+ * @name Phaser.Tilemaps.Tile#right
111
+ * @type {integer}
112
+ * @since 3.50.0
113
+ */
114
+ this.right = x + width;
115
+
116
117
+ * The bottom of the tile in pixels.
118
119
+ * @name Phaser.Tilemaps.Tile#bottom
120
121
122
123
+ this.bottom = y + height;
124
125
/**
126
* The maps base width of a tile in pixels. Tiled maps support multiple tileset sizes
127
* within one map, but they are still placed at intervals of the base tile size.
0 commit comments