1 #ifndef BATTLE_PARTYLAYOUT_H_
2 #define BATTLE_PARTYLAYOUT_H_
4 #include "../math/Vector.h"
15 static const int TYPE_ID = 203;
18 PartyLayout() : positions(0), numPositions(0) { }
21 std::vector<math::Vector<int> >::size_type NumPositions() const { return numPositions; }
22 void CalculatePositions(int width, int height, std::vector<math::Vector<int> > &dest) const;
23 math::Vector<int> CalculatePosition(int index, int width, int height) const;
26 void SetPositions(const math::Vector<int> *p, int num) {
31 static void CreateTypeDescription();
32 static void Construct(void *);
35 const math::Vector<int> *positions;