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

#include "creature.hpp"
#include "resource.hpp"
#include "window.hpp"
#include "location.hpp"

class List
{
	public:
		List(Window m);
		void Behavior();
		void Place();
		double Distance(Location A, Location B);

	private:
		//vectors containing objects of each type
		Window * main;//will be needed for adding R's and C's after constructor.
		std::vector<Resource> R;
		std::vector<Creature> C;
		std::vector<Location> L;
};

#endif