diff options
Diffstat (limited to 'src/systems/grid.js')
-rw-r--r-- | src/systems/grid.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systems/grid.js b/src/systems/grid.js index 6add388..6d4cf84 100644 --- a/src/systems/grid.js +++ b/src/systems/grid.js @@ -32,7 +32,7 @@ game.system.Grid = (entitiesGrid) => { const { x, y } = entity.components.gridPosition; entitiesGrid[y][x].set(entity.id, entity); }); - } + }; const update = (_elapsedTime, entities, changedIds) => { gridEntities = Object.keys(entities).filter((x) => entities[x].hasComponent("gridPosition")).map((x) => entities[x]); @@ -68,4 +68,4 @@ game.system.Grid = (entitiesGrid) => { return { gameCoordsToGrid, gridCoordsToGame, update, gridWidth, gridHeight }; -};
\ No newline at end of file +}; |