[squeak-dev] Re: Re: [ANN] Minecraft Bindings - Minecraft.zip
(0/1)
Bob Arning
arning315 at comcast.net
Wed Mar 6 00:03:42 UTC 2013
initFromArray
"
MinecraftConstants initFromArray
"
| input |
input _ #(
ActivatorRail 157
Air 0
Anvil 145
Apple 260
Arrow 262
AwkwardPotion (373 16)
"etc..."
).
input pairsDo: [ :k :v |
MinecraftConstants classPool at: k put: v.
].
On 3/5/13 6:49 PM, Louis LaBrunda wrote:
>> >Filling in the pool from a literal array would seem much more natural to me ...
> I just followed what ChronologyConstants did. VA Smalltalk and Squeak are
> very different in how they make pool dictionaries. Can you give me an
> example.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130305/f3e994f0/attachment.htm
More information about the Squeak-dev
mailing list
|