Hi,
Are there any issues with marking variables in entity components final if I dont have any “setters” ?
Hi,
Are there any issues with marking variables in entity components final if I dont have any “setters” ?
Yes: Network Serialization.
Default Zay-Es-Net will fail for final.
I had all my variables be final before that.
That being said in theory reflection can hack around final, even post java 11, but that’s probably a security measure.
Thanks