X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FEntity.cpp;h=d239844ea2ef420bd76fd5e47a57dbe7082359e0;hb=85aa2343f438894dd19e6ad1228eaca47bfb83a9;hp=6b6adaca3561e2d2f8aeeaf15d1eb369ce7b542d;hpb=69c74684a16695cc068824129ef82ea37f1b4511;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 {