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

View differences:

scout/libscout/src/behaviors/draw_cw_circle.h
27 27
#define _DRAW_CW_CIRCLE_H_
28 28

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

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

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

Also available in: Unified diff