4 * Created on: Sep 29, 2012
18 void Entity::Update(float deltaT) {
19 position += velocity * deltaT;
23 void Entity::Render(SDL_Surface *dest, const geometry::Vector<int> &offset) const {
24 if (animation.Running()) {
25 animation.DrawCenterBottom(dest, offset + position);
27 sprite->DrawCenterBottom(dest, offset + position);