#include <image.h>
Inheritance diagram for Image:

Public Member Functions | |
| Image (const char *src) | |
| This takes as an argument, an image file to load. | |
| ~Image () | |
| Frees the loaded image. | |
| void | Draw (int x, int y) |
| Draw image at (x,y) to screen. | |
Private Attributes | |
| SDL_Surface * | sur |
| pointer to image data | |
|
|
This takes as an argument, an image file to load.
|
|
|
Frees the loaded image.
|
|
||||||||||||
|
Draw image at (x,y) to screen.
|
|
|
pointer to image data
|
1.3.8