switched from SDL_Rect to texture for obstacles