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