Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2007, 10:10:11 PM (16 years ago)
Author:
landauf
Message:
  • removed the "ClassHierarchy" manager-class and put its sole feature (bIsCreatingClassHierarchy_) directly into the Identifier.
  • added a dynamic_cast from OrxonoxClass to BaseObject to the Factory. OrxonoxClass is needed because several classes use Interfaces, but all classes are derived at least from BaseObject, so the cast will work.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/Test.h

    r218 r219  
    1010    {
    1111        public:
    12             Interface1() { registerRootObject(Interface1); }
     12            Interface1() { registerAbstractRootObject(Interface1); }
    1313    };
    1414
     
    1616    {
    1717        public:
    18             Interface2() { registerRootObject(Interface2); }
     18            Interface2() { registerAbstractRootObject(Interface2); }
    1919    };
    2020
Note: See TracChangeset for help on using the changeset viewer.