Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2012, 6:16:19 PM (12 years ago)
Author:
landauf
Message:

detail: moved functions from .h to .cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pickup/items/ShrinkPickup.h

    r9320 r9321  
    8787            inline float getShrinkFactor(void) const
    8888                { return this->shrinkFactor_; }
    89             /**
    90             @brief Sets the shrinking factor.
    91             @param factor The factor, needs to greater than 1.
    92             */
    93             inline void setShrinkFactor(float factor)
    94                 { if(factor <= 1.0f) { orxout(internal_warning, context::pickups) << "Invalid shrinking factor in ShrinkPickup. Ignoring.." << endl; return; } this->shrinkFactor_ = factor; }
     89            void setShrinkFactor(float factor);
     90
    9591            /**
    9692            @brief Get the duration for which the ship remains shrunken.
     
    9995            inline float getDuration(void) const
    10096                { return this->duration_; }
    101             /**
    102             @brief Set the duration for which the ship remains shrunken.
    103             @param duration The duration, needs to be non-negative.
    104             */
    105             inline void setDuration(float duration)
    106                 { if(duration < 0.0f) { orxout(internal_warning, context::pickups) << "Invalid duration in ShrinkPickup. Ignoring.." << endl; return; } this->duration_ = duration; }
     97            void setDuration(float duration);
     98
    10799            /**
    108100            @brief Get the shrink speed.
     
    111103            inline float getShrinkDuration(void) const
    112104                { return this->shrinkDuration_; }
    113             /**
    114             @brief Set the shrink duration.
    115             @param speed The shrink duration, needs to be positive.
    116             */
    117             inline void setShrinkDuration(float speed)
    118                 { if(speed <= 0.0f) { orxout(internal_warning, context::pickups) << "Invalid shrink duration in ShrinkPickup. Ignoring.." << endl; return; } this->shrinkDuration_ = speed; }
     105            void setShrinkDuration(float speed);
    119106
    120107        private:
Note: See TracChangeset for help on using the changeset viewer.