Fellow ChucKists.
This has a issue (class 'Trigger' has no member 'broadcast');
=====================-
Trigger trig;
trig.broadcast();
class Trigger extends Event
{
int target;
}
======================
Yet this is fine;
=================-
class Trigger extends Event
{
int target;
}
Trigger trig;
trig.broadcast();
=================
This is quite odd. In general defining classes at the bottom of the file is ok these days, the problem seems to be in extending Event. I believe this to be wrong and will add it to the WiKi's list of bugs.
Yours,
Kas.