When utilizing StackedTiles in a GameArea composed of Blocks, the TopDownGameAreaRenderer and the TopDownFrontGameAreaRenderer would complain about StackedTile s missing implementation of Tile#toBuilder(). This Pull Request adds that functionality, allowing StackedTile to render.
The only thing I did aside from supplying my builder, was to change the existing Tile#toBuilder() method signature from TileBuilder to Builder<Tile> allowing my StackedTileBuilder to implement that method.
When utilizing
StackedTile
s in a GameArea composed of Blocks, theTopDownGameAreaRenderer
and theTopDownFrontGameAreaRenderer
would complain about StackedTile s missing implementation ofTile#toBuilder()
. This Pull Request adds that functionality, allowingStackedTile
to render.The only thing I did aside from supplying my builder, was to change the existing
Tile#toBuilder()
method signature fromTileBuilder
toBuilder<Tile>
allowing my StackedTileBuilder to implement that method.If I missed anything I will gladly add it.