X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FPartyLayout.h;fp=src%2Fbattle%2FPartyLayout.h;h=ec12f4dda9764a3859efdef806bf9fdc6da96a28;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=f5cd03d924e496ce867a1369c49b1fbfaaec2622;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/battle/PartyLayout.h b/src/battle/PartyLayout.h index f5cd03d..ec12f4d 100644 --- a/src/battle/PartyLayout.h +++ b/src/battle/PartyLayout.h @@ -1,7 +1,7 @@ #ifndef BATTLE_PARTYLAYOUT_H_ #define BATTLE_PARTYLAYOUT_H_ -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include #include @@ -18,12 +18,12 @@ public: PartyLayout() : positions(0), numPositions(0) { } public: - std::vector >::size_type NumPositions() const { return numPositions; } - void CalculatePositions(int width, int height, std::vector > &dest) const; - geometry::Vector CalculatePosition(int index, int width, int height) const; + std::vector >::size_type NumPositions() const { return numPositions; } + void CalculatePositions(int width, int height, std::vector > &dest) const; + math::Vector CalculatePosition(int index, int width, int height) const; public: - void SetPositions(const geometry::Vector *p, int num) { + void SetPositions(const math::Vector *p, int num) { positions = p; numPositions = num; } @@ -32,7 +32,7 @@ public: static void Construct(void *); private: - const geometry::Vector *positions; + const math::Vector *positions; int numPositions; };