client/entities and client/client_utilities build

This commit is contained in:
2015-08-02 04:12:22 +10:00
parent 0150dbb929
commit 8838fcd14e
9 changed files with 94 additions and 16 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ void Entity::Update() {
sprite.Update(0.016);
}
void Entity::DrawTo(SDL_Surface* const dest, int camX, int camY) {
sprite.DrawTo(dest, origin.x - camX, origin.y - camY);
void Entity::DrawTo(SDL_Renderer* const renderer, int camX, int camY) {
sprite.DrawTo(renderer, origin.x - camX, origin.y - camY);
}
SpriteSheet* Entity::GetSprite() {