Added a few fixes for issue 197

This commit is contained in:
Mauricio Rivera 2019-10-22 21:52:20 -07:00
parent 39ca4d5143
commit a4dd1b751b

View File

@ -296,7 +296,6 @@ class World {
this.tiles.push(tile); this.tiles.push(tile);
mar.isoGroup.add(tile); mar.isoGroup.add(tile);
} }
} }
@ -318,6 +317,10 @@ class World {
mar.game.world.height = (size + 2) * 64; mar.game.world.height = (size + 2) * 64;
} }
/**
* Set Message text
* @param msg string to set as the message
*/
public setBigMessage(msg: string) { public setBigMessage(msg: string) {
this.bigMessage = mar.game.add.text(908, 450, msg, { this.bigMessage = mar.game.add.text(908, 450, msg, {
fontSize: 46, fontSize: 46,
@ -478,5 +481,3 @@ class WorldArrow extends Phaser.Plugin.Isometric.IsoSprite {
} }
} }