From 85aa2343f438894dd19e6ad1228eaca47bfb83a9 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Tue, 22 Jan 2013 17:40:03 -0600 Subject: [PATCH] removed outdated TODOs from map::Entity --- src/map/Entity.cpp | 2 -- 1 file changed, 2 deletions(-) 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 { -- 2.39.2