haraldhv
/
aigo
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
aigo/lib/camera.h

20 lines
306 B
C++

#ifndef _CAMERA_H_
#define _CAMERA_H_
#include <SDL/SDL.h>
class Camera
{
public:
Camera( int width, int height );
virtual ~Camera(void);
virtual void update( void ) = 0;
SDL_Surface* getSurface ( void ) { return pixels; }
protected:
SDL_Surface *pixels;
};
#endif /* ifndef _CAMERA_H_ */