#pragma once #include "common.h" #include "T2ObjectArray.h" #include "T2People.h" class AFX_CLASS_EXPORT T2PeopleArray : public T2ObjectArray { public: T2PeopleArray(unsigned int startID = 1); virtual ~T2PeopleArray() {} virtual void DispatchIdle(T2TowerDoc*, int); T2People* FindPeople(unsigned int); void ResolveLink(T2PeopleArrayList*); T2People* FindUnusedPeople(); void DrawSearchedPerson(T2TowerDoc*); void SetWalkPeople(int); void DayChanged(); void TenantRemoved(unsigned int); void AddStress(int); void BreakoutEmergency(T2TowerDoc*); void Read(T2Archive&, T2TowerDoc*); void Write(T2Archive&); T2People* GetIndexPeople(int i) { return &mPeople[i]; } protected: T2People mPeople[256]; };