Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / scout / libscout / src / BehaviorList.cpp @ 94a3af93

History | View | Annotate | Download (335 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((int)behavior_list.size() != 0)
13
    behavior_list.pop_back();
14
}