At 5:58 PM +0100 3/2/04, Jens Rieks wrote:
Hi,

Am Dienstag, 2. März 2004 17:19 schrieb Dan Sugalski:
 At 5:13 PM +0100 3/2/04, Leopold Toetsch wrote:
 >>Parrot's object support is not yet good enough to be able to
 >>convert the game to use ParrotObjects.
 >
 >What is missing?

Constructors and destructors are my two big guesses here. :-P
Mainly imcc support for method calling, but constructors too.

Hopefully in the next day or two.


Another nice-to-have is "hidden method calling" for array and
hash-like access to objects.
The Board "class" is currently just an array, but the element access
can of course be replaced with direct method calls.

As soon as I can abuse pmc2c2.pl sufficiently then this'll be doable.


from pdd 15:
:  instantiate Px, Py, Sz (Unimplemented)
:      Instantiate a brand new class, based on the metadata
:      in Py, named Sz.
I think I have missread this last time. What it is op supposed to do?

How can I create an object of class the "Block"?

find_type $I0, "Block" new $P0, $I0

should do it.
--
                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to