void objects::drawRect(SDL_Surface *screen, SDL_Rect* object, int r, int g, int b) { SDL_FillRect(screen,&object, SDL_MapRGB(screen->format,r,g,b)); }