Project

General

Profile

Revision 31be19a6

ID31be19a6f1dbf2140fc23d0e97e1a5a706cb78b8

Added by Priya about 12 years ago

Behaviours now have names!

View differences:

scout/libscout/src/behaviors/draw_ccw_circle.h
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) {};
35
        draw_ccw_circle(std::string scoutname) : Behavior(scoutname, "draw_ccw_circle"){ };
36 36

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

Also available in: Unified diff