[BUG][FIX][ETOY] Duplication of Sibling Players ([approved])
Doug Way
dway at riskmetrics.com
Wed May 28 00:04:10 UTC 2003
[approved]
> Ted Kaehler wrote:
>
> Whenever you ask for a sibling instance of a Player in an EToy, the
> Players of the new object is an instance of the original Player
> class, instead of having a new class.
>
> When you duplicate a morph the holds a set of siblings, there was bug
> that made the new objects not be siblings. This fixes the bug. Alan
> wants this fixed for the cells of a Tic-Tac-Toe game.
> To test, make a playfield with a blob in it. Make a sibling
> of the blob. Tell the playfield to 'make sibling instance'. All
> four blobs will remain siblings.
> In addition, the production of a sibling instance is now cleaner.
>
> Change Set: Sibling-dup-tk
> Date: 11 March 2003
> Author: Ted Kaehler
>
> (Tested in a standard 3.6alpha)
>
>
>
> Name: Sibling-dup-tk.11Mar1612.cs.gz
> Sibling-dup-tk.11Mar1612.cs.gz Type: Macintosh File
> Encoding: base64
>
> ATT2153812.txtName: ATT2153812.txt
> Type: Plain Text (text/plain)
More information about the Squeak-dev
mailing list
|