alestiago / trashy_town

A sustainable, family-friendly game that promotes collectively cleaning public spaces and recycling.
https://trashytown.com
9 stars 1 forks source link

refactor: replace `GameSettings.gridDimensions` with `tileMap.destTileSize` #64

Open alestiago opened 7 months ago

alestiago commented 7 months ago

The information about the size of a cell is stored in the RenderableTiledMap which is a member of TiledComponent.

alestiago commented 7 months ago

I'm still evaluating this, probably going to be tackled when I refactor the _snapToGrid function (cc: @OlliePugh).