25 |
// creates a new paratrooper that starts at x,y |
25 |
// creates a new paratrooper that starts at x,y |
26 |
trooper::trooper(int x, int y) : sprite(DATADIR, "/parachute.bmp") |
26 |
trooper::trooper(int x, int y) : sprite(DATADIR, "/parachute.bmp") |
34 |
SDL_SetColorKey(image2, SDL_SRCCOLORKEY, SDL_MapRGB(image2->format, 255, 255, 0)); |
34 |
SDL_SetColorKey(image2, SDL_SRCCOLORKEY, SDL_MapRGB(image2->format, 255, 255, 0)); |