summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleArrayList.h
blob: 9ace5dceb8f8aa0b951febde338495a66feaa891 (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 : private 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;
};