summaryrefslogtreecommitdiff
path: root/inc/list.hpp
blob: 872d5fa346ebabb6ae4628ad376d5f0a63e9903f (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
28
#ifndef list_h
#define list_h

#include <list>
#include <vector>

#include "constants.hpp"
#include "creature.hpp"
#include "resource.hpp"
#include "quadtree.hpp"

class List
{
	public:
		List();
		void Behavior();
		void Place();
                void Remove();

                std::list<Entity*>              getNear(Creature c);
                std::list<Resource>             resources;
                std::list<Creature>             creatures;

                Quadtree                        tree;
                std::vector<GraphicsData>       drawQuadTree();
};

#endif