11 Feb
2009
11 Feb
'09
12:25 a.m.
2009/2/11 mike clemow
If getType() was stubbed out, then my guess is that we shouldn't mess with it. Perhaps we should change the name of this method to something else. getClass() maybe...
How about ".isA( type)" that would return true or false ? I'm suggesting that because some object may be *a Object *a UGen *a STKInstrument *a Sitar ...all at the same time. So; "my_sitar" would return true for all those and this; if ( my_sitar.isA( Event ) ) do.someThing(); ...wouldn't work. Does that make sense to you? Kas.