Пример #1
0
  IEntity::~IEntity()
  {
    ILOG() << "IEntity::dtor(" << mEntityID << ")" << std::endl;

    // Make sure to drop all our systems
    DropAllSystems();
  }
Пример #2
0
  Instance::~Instance()
  {
    // First drop all our registered ISystem classes
    DropAllSystems();

    // Call our Prototype to remove ourselves
    mPrototype.DestroyInstance(GetID());
  }