summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleArrayList.h
blob: cd668b7ae371fdcf5ae7e208b148161213ef9f54 (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
#pragma once
#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;
};