Thanks Bob,
That did the trick. Bert had suggested the getters be added on the instance side of Minecraft, so that's what I did (at least on my image, if Bert likes it, we will go with it). As you suggested, I added the code to generate the getters on the class side of MinecraftConstants.
Is there a way to add MinecraftConstants to the Minecraft poolDictionaries list if it isn't there already?
Lou
compileGetters " MinecraftConstants compileGetters "
MinecraftConstants bindingsDo: [:b | MinecraftConstants class compile:
b key asString withFirstCharacterDownshifted,'
^',b key classified: 'magic accessors' notifying: nil. ].
although I wasn't sure exactly where you wanted the methods.
On 3/5/13 3:38 PM, Louis LaBrunda wrote:
What I need is (what I expect is one) line of code that will compile the contents of #stream as a method of Minecraft. Can you help with that?
----------------------------------------------------------- Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com