[Newbies] Check wheater an instance of a class is actually there
digitig at gmail.com
Sun Dec 27 14:01:49 UTC 2009
2009/12/23 Hans Gruber <rukin at web.de>:
>> >>>>> "Hans" == Hans Gruber <rukin at web.de> writes:
> Hi, thanks for the fast answer.
> Let me explain my problem a bit more detailed.
> I have 3 Morphs and each of them belong to different classes.
> What I want to achieve is, that one of the morphs only calls special methods during intialization (in the initialize method) when one of the other morphs has been created before and still exists/is active (so the morph has not been deleted or destroyed).
I think this is more of a design than a language issue. Have a look at
the mediator design pattern:
More information about the Beginners