- Joined
- Apr 8, 2020
- Messages
- 110
How would I go about doing something like the following?
JASS:
struct Example
Requirement requirement
method whatever takes nothing returns nothing
//Calling the custom filter function
if requirement.filter() then
endif
endmethod
method addCondition takes Requirement requirement returns thistype
set this.requirement = requirement
endmethod
endstruct