summaryrefslogtreecommitdiff
path: root/inc/list.hpp
blob: e2b94e5f41a69c64a32a9483db08cc249ddd6da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef list_h
#define list_h

#include <list>
#include <vector>

#include "constants.hpp"
#include "organism.hpp"
#include "quadtree.hpp"

class List
{
	public:
		List();

	        void                            Behavior();
	        void                            Place();
                void                            Remove();

                std::vector<Organism*>          getNear(Organism o);

                std::list<Organism>             organisms;

                Quadtree                        tree;
};

#endif