]> git.localhorst.tv Git - l2e.git/commitdiff
removed outdated TODOs from map::Entity
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 22 Jan 2013 23:40:03 +0000 (17:40 -0600)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 22 Jan 2013 23:40:03 +0000 (17:40 -0600)
src/map/Entity.cpp

index 6b6adaca3561e2d2f8aeeaf15d1eb369ce7b542d..d239844ea2ef420bd76fd5e47a57dbe7082359e0 100644 (file)
@@ -121,7 +121,6 @@ void Entity::UpdateVelocity() {
 
 
 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(ToInt(position));
        return tilePosition % tileSize == Vector<int>();
 }
@@ -133,7 +132,6 @@ void Entity::Update(Uint32 deltaT) {
 
 
 void Entity::Render(SDL_Surface *dest, const Vector<int> &offset) const {
-       // TODO: configurable sprite offsets
        if (runner.Running()) {
                runner.Draw(dest, offset + ToInt(position) + spriteOffset);
        } else {