summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleArrayList.h
blob: 7abaae8731b680a3b5c107b908680afbe4360c10 (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 T2DLL_T2PEOPLEARRAYLIST_H
#define T2DLL_T2PEOPLEARRAYLIST_H
#include "../common.h"
#include "LArray.h"

class AFX_CLASS_EXPORT T2PeopleArrayList : public LArray {
public:
	T2PeopleArrayList();
	virtual ~T2PeopleArrayList();
	void Add(T2PeopleArray*);
	unsigned int GetItemCount();
	T2PeopleArray* GetItemAt(int);
	T2People* FindPeople(unsigned int);
	T2People* FindUnusedPeople();
	void DispatchIdle(T2TowerDoc*);
	void DrawSearchedPerson(T2TowerDoc*);
	void SetWalkPeople(int);
	void TenantRemoved(unsigned int);
	void AddStress(int);
	void Read(T2Archive&, T2TowerDoc*);
	void Write(T2Archive&);
	void BreakoutEmergency(T2TowerDoc*);

protected:
    int mCounter;
};
#endif