mirror of
https://github.com/wassname/phaser.git
synced 2026-09-11 12:31:29 +08:00
Fixed the tilemap pre/post update hooks.
This commit is contained in:
@@ -8170,6 +8170,12 @@ var Phaser;
|
||||
if (typeof layer === "undefined") { layer = this.currentLayer.ID; }
|
||||
this.layers[layer].putTile(x, y, index);
|
||||
};
|
||||
Tilemap.prototype.preUpdate = function () {
|
||||
};
|
||||
Tilemap.prototype.update = function () {
|
||||
};
|
||||
Tilemap.prototype.postUpdate = function () {
|
||||
};
|
||||
Tilemap.prototype.destroy = function () {
|
||||
this.texture = null;
|
||||
this.transform = null;
|
||||
|
||||
Reference in New Issue
Block a user