Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /******************************************************************************
- * The motivator is aware of sensory input (via another class?) and uses that
- * that information to choose the best behavior.
- */
- #ifndef __MOTIVATOR_H__
- #define __MOTIVATOR_H__
- #include "Behavior.h"
- #include <Arduino.h>
- class Motivator
- {
- private:
- protected:
- int behaviorCount;
- Behavior* behaviors[];
- void enableBehavior(int b);
- void disableBehavior(int b);
- void addBehavior(Behavior* b);
- void executeBehaviors();
- public:
- Motivator();
- virtual void motivate();
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement