| 10-12-2008, 03:19 PM | #1 |
I say, let people vote on what they think should be my next tutorial about, starting now. Well, I could make a tutorial of plenty of things even of things I don't really know so well, but it would be better to limit it to vJass stuff. k? |
| 10-12-2008, 03:48 PM | #2 |
Delegation. Cuz you know no one will use it even if you make a tutorial. 'cept grim. |
| 10-12-2008, 03:51 PM | #3 |
Hmm, one of risks of having this thread open are "omg plz lrn me 2 jass kk" posts. I guess it's helpful though. |
| 10-12-2008, 04:05 PM | #4 | |
Quote:
|
| 10-12-2008, 04:29 PM | #5 | |
How to date successfully with a woman... Quote:
|
| 10-12-2008, 05:38 PM | #6 |
| 10-12-2008, 05:40 PM | #7 | |
Quote:
Delegate rocks. |
| 10-13-2008, 10:09 AM | #8 |
delegation is awesome, and there no need to be tutorial for it. Go read the manual, vex actually made a better delegation than delegation in java/C#/C++ etc Because his compiler is uber smart :P But there is something i wanna ask about: -Does delegation also allow delegate of variables? It would be awesome if it can access variables tat doesnt exist for the current struct but exist in the delegated structs in it. |
| 10-13-2008, 12:49 PM | #9 |
what variables? |
| 10-13-2008, 09:47 PM | #10 |
member variables of the struct. Delegation works on method, i wonder if it works on member vars too... ex: JASS:struct A integer G endstruct struct B delegate A deleg static method create takes nothing returns B local B b = B.allocate() set B.deleg = A.create() endmethod endstruct //... local B b = B.create() set b.G = 2 //here it will actually be: set b.deleg.G = 2 |
| 10-13-2008, 09:59 PM | #11 |
Yes, it works like that. |
| 10-13-2008, 11:04 PM | #12 |
tat is awesome, awesome, allow making systems with plugins, extensions. :D then i wonder if it allow this... JASS:struct K integer G endstruct struct A delegate K delegK static method create takes nothing returns A local A a = A.allocate() set a.deleg = K.create() endmethod endstruct struct B delegate A delegA static method create takes nothing returns B local B b = B.allocate() set b.deleg = A.create() endmethod endstruct //... local B b = B.create() set b.G = 2 //here it will actually be: set b.delegA.delegK.G = 2 |
| 10-15-2008, 04:32 AM | #13 |
It might be useful to, you know, upload the JASSHelper manual as a tutorial here. |
| 10-15-2008, 12:33 PM | #14 |
only that it isn't a tutorial. |
| 10-15-2008, 11:04 PM | #15 |
I think it sort-of is. A reference guide is close enough, and it's nice for it to be online so it can be linked to. |
