This repository has been archived by the owner on May 7, 2022. It is now read-only.
Arbitrary data attached to tile #143
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
What problem does this solve or what need does it fill?
In games, tiles often need to store extra data. For example, in Minecraft, blocks have block states and block entity data.
Describe the solution would you like?
I would like
Tilemap
andTile
to be generic overT
, allowing us to attach additional dataT
to eachTile
. This could be something like this:Describe the alternative(s) you've considered?
While this could be stored separately, it would require implementing an additional system that functions pretty much identically to the existing Tilemap for spawning / despawning / etc.
The text was updated successfully, but these errors were encountered: