Revision d140fd71 scout/libscout/src/behaviors/draw_ccw_circle.h

View differences:

scout/libscout/src/behaviors/draw_ccw_circle.h
27 27
#define _DRAW_CCW_CIRCLE_H_
28 28

  
29 29
#include "../Behavior.h"
30

  
30
#include "../Sensors.h"
31 31
class draw_ccw_circle : Behavior
32 32
{
33 33
    public:
34 34
        /// @todo Is this the best way to inherit the Behavior constructor?
35
        draw_ccw_circle(std::string scoutname) : Behavior(scoutname, "draw_ccw_circle"){ };
35
        draw_ccw_circle(std::string scoutname, Sensors* sensors) : 
36
                        Behavior(scoutname, "draw_ccw_circle", sensors){ };
36 37

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

Also available in: Unified diff