Hi
I am in kind of a rut here, and any help on my basic architecture would be highly appreciated
I am trying a game architecture design where it would be valuable to have mediators update "child mediators" at a frame rate-based "View Update" method from the game loop, and have proxies update child proxies also from a global "Model Update" method (something along the lines of this article:
http://blogs.msdn.com/etayrien/archive/2006/12/12/game-engine-structure.aspx , and the MVC chapter from Bill Sanders and Chandima Cumaranatunge's book of AS design patterns
http://www.adobe.com/devnet/actionscript/articles/ora_as3_design_patterns/ora_as3_design_patterns_ch12.pdfThe benefit of this would be in my opinion to allow interpolated updating of the view, with visibility and depth management based on parent/child relationship, and allow destroy() events on proxies to propagate down and destroy all child proxies (e.g a ships guns, shield, etc.)
The downside is that mediators/procies hav a lot of knowledge of other mediators/proxies, although only for update/destroy/visibility/depth purposes common to all view/model components
Is there a better way to manage proxy/mediator interaction and management for a game context?