Should TileAnimation have the @XmlRootElement annotation? #658
nightm4re94
started this conversation in
Old Forum
Replies: 1 comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2019-04-12 22:12:19
User: TheRamenChef [] (age: 1441 days 🔥; posts: 5)
A while back, I removed a whole bunch of ~~
~~@XmlRootElement
annotations from the TMX API in this commit: 4d3a500In a recent commit by @steffen however, that annotation was added back to the Animation class with no explanation given. The class was also renamed to ~~
~~TileAnimation
, though I don't have any objections to the rename.I originally removed the annotation because the annotation is supposed to be used for root elements, which animations are not, as I explained in the commit description. Is there a reason why animations should have the ~~
~~@XmlRootElement
annotation?Beta Was this translation helpful? Give feedback.
All reactions