Hexworks / zircon

Zircon is an extensible and user-friendly, multiplatform tile engine.
https://hexworks.org/projects/zircon/
Apache License 2.0
755 stars 138 forks source link

Tile#empty stops the GameAreaRenderer from working. #414

Open Chenjox opened 3 years ago

Chenjox commented 3 years ago

Describe the bug MWE Having a screen with a panel that has a GameAreaComponentRenderer attached, where the Filler Tile is set to Tile#empty() stops it from working correctly. Rebuilding the tile from scratch fixes this behaviour

To Reproduce Steps to reproduce the behavior:

  1. Create a screen
  2. Add a panel or label with a GameAreaComponentRenderer whoms filler tile is set to Tile#empty
  3. Fill the Game Area with a different Tile
  4. See how the GameAreaComponentRenderer shows nothing

Expected behavior Tile#empty() to not exhibit this behaviour

Screenshots Will do if necessary

Desktop (please complete the following information):