Re: monstermaker tweak -
20-04-2004
Forgive me for not knowing much about programming, but maybe it is possible to set that in the Barney's constructor, have it change a private variable, and check it in the spawn function.
BTW, can't you have more than one constructor, too? Like with different types? That way you can still have other classes call it differently.
Make sure you put in some kind of protection against models that don't exist.
|