Revision 9a88eb2e scout/libscout/src/behaviors/pause_scout.h

View differences:

scout/libscout/src/behaviors/pause_scout.h
32 32
{
33 33
    public:
34 34
        /// @todo Is this the best way to inherit the Behavior constructor?
35
        pause_scout(std::string scoutname) : Behavior(scoutname, "pause_scout") {};
35
        pause_scout(std::string scoutname, Sensors* sensors)
36
            : Behavior(scoutname, "pause_scout", sensors) {};
36 37

  
37 38
        /** Actually executes the behavior. */
38 39
        void run();

Also available in: Unified diff