Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 27, 2008, 4:08:51 AM (16 years ago)
Author:
landauf
Message:

many changes, most important: BaseObject takes now a pointer to it's creator which is needed to build a level hierarchy (with different scenes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/Identifier.cc

    r1940 r2019  
    214214        @return The new object
    215215    */
    216     BaseObject* Identifier::fabricate()
     216    BaseObject* Identifier::fabricate(BaseObject* creator)
    217217    {
    218218        if (this->factory_)
    219219        {
    220             return this->factory_->fabricate(); // We have to return a BaseObject, because we don't know the exact type.
     220            return this->factory_->fabricate(creator); // We have to return a BaseObject, because we don't know the exact type.
    221221        }
    222222        else
Note: See TracChangeset for help on using the changeset viewer.