diff options
-rw-r--r-- | html/rogue/index.html | 2 | ||||
-rw-r--r-- | html/rogue/js/fow.js (renamed from html/rogue/js/fogOfWar.js) | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/html/rogue/index.html b/html/rogue/index.html index d677431..f3338b0 100644 --- a/html/rogue/index.html +++ b/html/rogue/index.html @@ -22,7 +22,7 @@ <script src="js/config.js"></script> <script src="js/hexGrid.js"></script> <script src="js/camera.js"></script> - <script src="js/fogOfWar.js"></script> + <script src="js/fow.js"></script> <script src="js/player.js"></script> <script src="js/game.js"></script> </body> diff --git a/html/rogue/js/fogOfWar.js b/html/rogue/js/fow.js index cb11938..77f55c0 100644 --- a/html/rogue/js/fogOfWar.js +++ b/html/rogue/js/fow.js @@ -5,7 +5,6 @@ const FogOfWar = { // Configuration VISION_RANGE: Config.player.VISION_RANGE, - // Initialize fog of war init() { this.revealed.clear(); this.updateVisibility(player.position); |