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();
38 const geometry::Vector<int> *positions;
45 #endif /* BATTLE_PARTYLAYOUT_H_ */