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

Restore the original position on attachment failure or component reset #396

Closed adam-arold closed 3 years ago

adam-arold commented 3 years ago

Each Component is created with a Position. The component is then moved when it is attached. When it is removed it should be re-usable and a prerequisite of that is restoring its original state. This includes its original position too.