> Jorrit, if I may use your example csEngineTools::FindScreenTarget(). This 
> looks similar to the mousehelper class. Here I know I have to provide (if I 
> remember correctly) iEvent.

No, you don't need an iEvent for FindScreenTarget().

> Well ok, that is the core of CS the event system. And I believe that is the 
> point I dont understand.
>
> How does CEL use the event system. What I could learn from the manual is that 
> all enities (=everything in(-tangible) have a physical and a behavioural 
> layer. The BL has a function called SendMessage() which appears to be the 
> communication interface.

Events in CS are used for things like keyboard and mouse events (for
example). Some of the CEL property classes are also interested in
those events and so they will listen to these CS events. i.e. the
input property class wants to know about keyboard events.

The communication between CEL physical and behaviour layer is done
through the (now obsolete) SendMessage(). This has nothing to do with
the CS events.

Greetings,

-- 
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
Personal page: http://users.telenet.be/jorritTyberghein/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cel-main mailing list
Cel-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cel-main

Reply via email to