Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2010, 11:37:48 AM (15 years ago)
Author:
scheusso
Message:

made registerVariables always private. otherwise bad things may happen with variables registered twice or even 3 times (as has happened in ControllableEntity until now)

Location:
code/branches/network2/src/orxonox/items
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network2/src/orxonox/items/Engine.h

    r6417 r6448  
    4444
    4545            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    46             void registerVariables();
    4746            void setConfigValues();
    4847
     
    107106
    108107        private:
     108            void registerVariables();
    109109            void networkcallback_shipID();
    110110
  • code/branches/network2/src/orxonox/items/MultiStateEngine.h

    r6417 r6448  
    5353
    5454            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    55             void registerVariables();
    5655
    5756            virtual void tick(float dt);
     
    6867
    6968        private:
     69            void registerVariables();
     70
    7071            int state_;
    7172            int oldState_;
Note: See TracChangeset for help on using the changeset viewer.