What's the best way to handle custom player attributes in Wurst? I went with the approach of creating a wrapper Player class that contains my custom attributes and also contains a native player object. This lead to some additional wrapper classes needing to be created like Team which contains n wrapper Player objects and my custom team attributes. It also meant I needed a way to convert from the native player type to my new wrapped Player type.
Is this the correct way to do it in Wurst, or is there a way to add variables + functions to a package? Will I also hit any type of performance issue with my simple wrappers?
Is this the correct way to do it in Wurst, or is there a way to add variables + functions to a package? Will I also hit any type of performance issue with my simple wrappers?