On 9/3/05 4:45 pm, Anthony W. Fouts, Jr. [EMAIL PROTECTED]
wrote:
I have been using the following syntax for quite some time for calling
methods in behaviors attached to sprites:
-- sendsprite(spriteNum, #callSomeMethod, someParameter)
It occurred to me that I call methods in child
Hi Anthony
In the handler being called include the following statement
put me
You will see that in the sendSprite approach me is a reference to the
instance of the behaviour while in the sprite(x).call approach me is
sprite(x). This can cause some confusion as to what the rest code is
number instead
of a reference to an instance of the behavior.
Anthony
www.lifelinestudios.com
- Original Message -
From: James Newton [EMAIL PROTECTED]
To: Lingo-L lingo-l@lists.fcgnetworks.net
Sent: Wednesday, March 09, 2005 11:10 AM
Subject: Re: lingo-l sprite communication syntax
programming discussion list lingo-l@lists.fcgnetworks.net
Sent: Wednesday, March 09, 2005 11:14 AM
Subject: Re: lingo-l sprite communication syntax?
Hi Anthony
In the handler being called include the following statement
put me
You will see that in the sendSprite approach me is a reference