#pragma once #include "common.h" #include "LArray.h" class AFX_EXT_CLASS 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); };