ok now, I got a 2D sidecrolling game
it features tilemaps
it works like this: every “field” has a bufferedimage which is null or not
quite simple and it works
however now I wanted to feature animated tile sprites aswell of course… a static world would be kinda boring
but I’m not sure how it is supposed to be done.
I wanted to change my TileMap class so that it features a tile AND a animation per field
and it would check if the tile is null. if so it would check if the animation is also null and play it
there is already an animation class
I just wanted to know how the default way of solving this is