- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Just curious if we could shadow methods in VJASS. What I mean is, is that it appears you have multiple functions/methods with the same name, but the parameters they take are different (hence they are distinguishable). The code they run obviously can be anything (doesn't have to be the same).
For example, it would be nice to shadow create methods (at least for what I'm doing).
Just curious if we could shadow methods in VJASS. What I mean is, is that it appears you have multiple functions/methods with the same name, but the parameters they take are different (hence they are distinguishable). The code they run obviously can be anything (doesn't have to be the same).
For example, it would be nice to shadow create methods (at least for what I'm doing).
JASS:
struct myStruct
static method create takes handle h returns thistype
...
endmethod
static method create takes integer unitTypeId returns thistype
...
endmethod
endstruct