X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=src%2Fmap%2FEntity.cpp;fp=src%2Fmap%2FEntity.cpp;h=fd2cc686787d3474054462be551812ffe9f07ee8;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=c2a826be0e7d6f2fc169c3b5bc856e9ade6aa3db;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/map/Entity.cpp b/src/map/Entity.cpp index c2a826b..fd2cc68 100644 --- a/src/map/Entity.cpp +++ b/src/map/Entity.cpp @@ -11,7 +11,7 @@ using battle::Monster; using battle::PartyLayout; using graphics::Animation; using graphics::Sprite; -using geometry::Vector; +using math::Vector; using loader::FieldDescription; using loader::Interpreter; using loader::TypeDescription; @@ -119,7 +119,7 @@ void Entity::UpdateVelocity() { } -bool Entity::TileLock(const geometry::Vector &tileSize) const { +bool Entity::TileLock(const math::Vector &tileSize) const { // TODO: change position to point to the top-left corner of a tile Vector tilePosition(position); return (tilePosition.X() % tileSize.X() == 0) && (tilePosition.Y() % tileSize.Y() == 0);