[squeak-dev] Re: Re: Re: Re: Re: [ANN] Minecraft Bindings -
Minecraft.zip (0/1)
Louis LaBrunda
Lou at Keystone-Software.com
Tue Mar 5 22:22:38 UTC 2013
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 at Keystone-Software.com http://www.Keystone-Software.com
More information about the Squeak-dev
mailing list
|