swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a zoomraster displaying MoGrid2d. Would you have done this?


From: Marcus G. Daniels
Subject: Re: Making a zoomraster displaying MoGrid2d. Would you have done this?
Date: 23 Jun 1999 15:23:03 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3.10

>>>>> "PJ" == Paul Johnson <address@hidden> writes:

PJ> The problem is that the MoGrid2d uses a Swarm List at each point
PJ> in the grid.  That means it is not possible to add a method
PJ> drawSelfOn, since List can't be subclaseed. I considered for a
PJ> while making a new wrapper class around list, and then putting
PJ> those wrappers inside the MoGrid2d.  I think that would have
PJ> worked, but I was afraid of destroying the essence of MoGrid2d by
PJ> building in another layer of abstraction.

How about a (cell) class that has as one of its instance variables a
List, and a draw method that looks at that List?  (I don't get why
you have two spaces.)


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]