Two Pattern Questions
Benoit St-Jean
bstjean at yahoo.com
Fri Dec 21 06:22:39 UTC 2001
--- Eddie Cottongim <cottonsqueak at earthlink.net>
wrote:
> -- Make separate instance variables for color1,
> color2, etc, and a get/set
> method for each of those.
> -- Have a Dictionary of Name->Color associations.
> This is what I do now. I
> like this because I have a favorite color scheme,
> and I can easily reuse it
You can also have a look at "extended colors" at:
http://minnow.cc.gatech.edu/squeak/2152
=====
-------------------------
Benoit St-Jean
bstjean at yahoo.com
Yahoo! Messenger: bstjean
http://cactus.swiki.net
-------------------------
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
More information about the Squeak-dev
mailing list
|