X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FEntity.cpp;h=d239844ea2ef420bd76fd5e47a57dbe7082359e0;hb=7011e3c622be7d4f24c0166a1ad5aeb4f8c5f851;hp=6b6adaca3561e2d2f8aeeaf15d1eb369ce7b542d;hpb=6ad33ca7db4f2d13311e2f8a9e77e57f907a576d;p=l2e.git diff --git a/src/map/Entity.cpp b/src/map/Entity.cpp index 6b6adac..d239844 100644 --- a/src/map/Entity.cpp +++ b/src/map/Entity.cpp @@ -121,7 +121,6 @@ void Entity::UpdateVelocity() { bool Entity::TileLock(const math::Vector &tileSize) const { - // TODO: change position to point to the top-left corner of a tile Vector tilePosition(ToInt(position)); return tilePosition % tileSize == Vector(); } @@ -133,7 +132,6 @@ void Entity::Update(Uint32 deltaT) { void Entity::Render(SDL_Surface *dest, const Vector &offset) const { - // TODO: configurable sprite offsets if (runner.Running()) { runner.Draw(dest, offset + ToInt(position) + spriteOffset); } else {