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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network2/src/modules/pong/PongBall.h

    r5929 r6448  
    4545            virtual void tick(float dt);
    4646
    47             void registerVariables();
    48 
    4947            void setFieldDimension(float width, float height)
    5048                { this->fieldWidth_ = width; this->fieldHeight_ = height; }
     
    7472
    7573        private:
     74            void registerVariables();
     75
    7676            float fieldWidth_;
    7777            float fieldHeight_;
Note: See TracChangeset for help on using the changeset viewer.