Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / scout / libscout / src / BehaviorList.cpp @ c460d4c2

History | View | Annotate | Download (327 Bytes)

1
#include "BehaviorList.h"
2

    
3
BehaviorList::BehaviorList(std::string scoutname)
4
{
5
  behavior_list.push_back((Behavior*)new draw_cw_circle(scoutname));
6
  behavior_list.push_back((Behavior*)new draw_ccw_circle(scoutname));
7
  return;
8
}
9

    
10
BehaviorList::~BehaviorList()
11
{
12
  while(!behavior_list.empty())
13
    behavior_list.pop_back();
14
}