Example #1
0
 void ApplyTo(CSpace& c_space, CLEDEntity& c_entity) {
    if(c_space.IsUsingSpaceHash()) {
       c_space.GetLEDEntitiesSpaceHash().RemoveElement(c_entity);
    }
    c_space.RemoveEntity(c_entity);
 }
Example #2
0
 void ApplyTo(CSpace& c_space, CLEDEntity& c_entity) {
    c_space.AddEntity(c_entity);
    if(c_space.IsUsingSpaceHash()) {
       c_space.GetLEDEntitiesSpaceHash().AddElement(c_entity);
    }
 }