4 * Created on: Aug 5, 2012
8 #ifndef BATTLE_PARTYLAYOUT_H_
9 #define BATTLE_PARTYLAYOUT_H_
11 #include "../geometry/Vector.h"
22 static const int TYPE_ID = 203;
25 PartyLayout() : positions(0), numPositions(0) { }
28 std::vector<geometry::Vector<int> >::size_type NumPositions() const { return numPositions; }
29 void CalculatePositions(int width, int height, std::vector<geometry::Vector<int> > &dest) const;
30 geometry::Vector<int> CalculatePosition(int index, int width, int height) const;
33 void SetPositions(const geometry::Vector<int> *p, int num) {
38 static void CreateTypeDescription();
39 static void Construct(void *);
42 const geometry::Vector<int> *positions;
49 #endif /* BATTLE_PARTYLAYOUT_H_ */