Nurglini
Can you store a unique function within a class?
As a follow up to this, I have what feels like a niche issue at the moment - is there a way I can reference a parent class's variable within this subclasses action? I haven't been able to figure out how to access one of my Entities variables from the Ability's action
(I.e. retrieving entity's health variable and modifying that from the entity's ability's action)
7 replies
Is there a 'foreach' equivalent for parts of a class?
Yes but I would need to enter that manually for each property, I'm asking if there's a way to input a class and perform the function for each property, regardless of how many there are or what their names are.
48 replies