Created mini map for a star search

This commit is contained in:
Evan
2024-11-29 20:35:08 -08:00
parent 7a961c68b4
commit 5d4befb117
7 changed files with 121 additions and 38 deletions
+3
View File
@@ -20,6 +20,9 @@ export class UnitImpl implements MutableUnit {
}
move(tile: Tile): void {
if(tile == null) {
throw new Error("tile cannot be null")
}
const oldTile = this._tile;
this._tile = tile;
this.g.fireUnitUpdateEvent(this, oldTile);