Title: Composing components with excalibur component manager ...

Hi,

I got some questions on the excalibur component manager.
Due to the framework I thought I unserstood it right that each composable component should only contain the components it needs/ it is allowed to use within its component manager.

Maybe I am missing something, but if I have a look at the code of ECM any composable component I add via addComponent(...) will be composed with 'this' means the ECM instance itself.

Lets asume the following scenario:

( -> means 'uses' )

A -> B
   -> C
   -> D

B -> E
   -> F

C -> G

ECM_A should be the container I want to compose A with. If I add B and C to ECM_A they will get a reference of ECM_A but they shouldn't.

Shouldn't B i.e. be composed with another ECM having E and F?


What am I missing?


Thanks, Michael

----------------------------------------- (on the network)

*********************************
PRIVILEGED - PRIVATE AND CONFIDENTIAL
This e-mail and files transmitted with it are intended solely for the
use of the addressee(s) and may contain information which is
confidential or privileged. If you are not the intended recipient, be
aware that any disclosure, copying, distribution or use of this e-mail
or any attachment is prohibited. If you receive this e-mail and you are
not the addressee, or you have received this e-mail in error, please
disregard the contents of the e-mail, delete the e-mail and notify the
author immediately.
*********************************


---------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to