[etoys-dev] Re: How can I embed one object in another specific object within a script?

Bert Freudenberg bert at freudenbergs.de
Mon Jun 28 05:41:19 EDT 2010


(I'm redirecting this to the Squeakland list, this is not a developer question)

On 28.06.2010, at 09:27, Steve Thomas wrote:

> I want to embed a triangle into a circle. I am using variables of type "Player" to refer to both the Triangle and circle.
> Smalltalk code is fine.

Don't need Smalltalk code.

Use the "include" tile, found in the "collections" protocol of any holder/playfield. Simply replace its receiver and argument with your variable tiles.

- Bert -




More information about the etoys-dev mailing list