Changes between Version 1 and Version 2 of Ticket #222


Ignore:
Timestamp:
2008-11-23 22:02:06 (5 years ago)
Author:
jan
Comment:

Matei had a good idea: to further defend against yanking the rug out from under JS code (GUI, AI) holding a reference to an entity, we could simply have the CEntity managed by JS. CEntity inherits from CJSComplex; it looks like we'd only need to set m_EngineOwned to false to get the desired AddRoot? behavior.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #222

    • Property Owner set to jan
    • Property Status changed from new to assigned
  • Ticket #222 – Description

    v1 v2  
    1919 
    2020This sounds like it would simplify things; a partial implementation is underway, but a few design questions remain to be hashed out (Philip and I will be discussing this shortly; any other input is welcome). 
     21 
     22TODO: 
     23 * ~~~update HEntity~~~ 
     24 * ~~~adapt EntityManager~~~ 
     25 * proper construction of CEntity, including JS AddRoot 
     26 * update all code to use HEntity instead of CEntity*