-/*
- * Entity.cpp
- *
- * Created on: Sep 29, 2012
- * Author: holy
- */
-
#include "Entity.h"
#include "../battle/Monster.h"
using battle::PartyLayout;
using graphics::Animation;
using graphics::Sprite;
-using geometry::Vector;
+using math::Vector;
using loader::FieldDescription;
using loader::Interpreter;
using loader::TypeDescription;
}
-bool Entity::TileLock(const geometry::Vector<int> &tileSize) const {
+bool Entity::TileLock(const math::Vector<int> &tileSize) const {
// TODO: change position to point to the top-left corner of a tile
Vector<int> tilePosition(position);
return (tilePosition.X() % tileSize.X() == 0) && (tilePosition.Y() % tileSize.Y() == 0);