summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MoverArrayList.h
blob: 0d3025d8ed40d1ae8637a31fec554ae47447c108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef T2DLL_T2MOVERARRAYLIST_H
#define T2DLL_T2MOVERARRAYLIST_H
#include "../common.h"
#include "LArray.h"

class AFX_CLASS_EXPORT T2MoverArrayList : public LArray {
public:
	T2MoverArrayList();
	virtual ~T2MoverArrayList();
	void Add(T2MoverArray* inArray);
	unsigned int GetItemCount();
	T2MoverArray* GetItemAt(int inIndex);
	T2Mover* GetMoverByID(unsigned int inMoverID);
	T2Mover* FindUnusedMover();
	void DrawMoverAll(T2TowerDoc* inDoc, const RECT& inRect);
	void DispatchIdle(T2TowerDoc* inDoc);
	void Read(T2Archive& inArchive, T2TowerDoc* inDoc);
	void Write(T2Archive& inArchive);
	int CalcMentenanceCost(T2TowerDoc* inDoc) const;
	LArray* MakeMoverList(int inType);
};
#endif